File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ concurrency:
2727 cancel-in-progress : true
2828jobs :
2929 changed_files :
30- if : ${{ github.event_name == 'push' || (github. event.pull_request && github.event.pull_request. draft == false) }}
30+ if : ${{ github.event.pull_request. draft == false }}
3131 runs-on : ubuntu-latest
3232 name : Test changed-files
3333 outputs :
@@ -163,7 +163,7 @@ jobs:
163163 - name : Report status
164164 run : cargo clippy --all-features --all-targets -- -D warnings --allow deprecated
165165 test :
166- if : ${{ ( github.event_name == 'push' || (github. event.pull_request && github.event.pull_request. draft == false)) && needs.changed_files.outputs.changed-tests-files == 'true' }}
166+ if : ${{ github.event.pull_request. draft == false && needs.changed_files.outputs.changed-tests-files == 'true' }}
167167 permissions :
168168 contents : read
169169 needs :
@@ -203,4 +203,4 @@ jobs:
203203 LLVM_PROFILE_FILE : unit-%p-%m.profraw
204204 RUSTFLAGS : -Cinstrument-coverage
205205 RUST_TEST_THREADS : 1
206- run : cargo llvm-cov --workspace -- locked --lib --bins --lcov --output-path unit-lcov.info
206+ run : cargo hack llvm-cov --locked --workspace --lib --lcov --output-path unit-lcov.info
You can’t perform that action at this time.
0 commit comments