github: only run the coverage after the tests
This commit is contained in:
committed by
nitnelave
parent
ef17c280b1
commit
3247ffc8ea
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
@@ -81,7 +81,9 @@ jobs:
|
|||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
name: Code coverage
|
name: Code coverage
|
||||||
needs: pre_job
|
needs:
|
||||||
|
- pre_job
|
||||||
|
- test
|
||||||
if: ${{ needs.pre_job.outputs.should_skip != 'true' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
|
if: ${{ needs.pre_job.outputs.should_skip != 'true' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user