From 5ebb5a0ee31c40c6b880feb82eb97a3bccf23bb0 Mon Sep 17 00:00:00 2001 From: shenjack-5600u <3695888@qq.com> Date: Mon, 29 Jan 2024 22:37:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/public_test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/public_test.yml diff --git a/.github/workflows/public_test.yml b/.github/workflows/public_test.yml new file mode 100644 index 0000000..760bbf5 --- /dev/null +++ b/.github/workflows/public_test.yml @@ -0,0 +1,22 @@ +name: 可以公开的测试 + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: 构建 + run: cargo build --verbose + - name: 运行测试 + run: cargo test --verbose --no-default-features -- --nocapture