添加测试
This commit is contained in:
parent
a7142df249
commit
5ebb5a0ee3
22
.github/workflows/public_test.yml
vendored
Normal file
22
.github/workflows/public_test.yml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user