github: only run the coverage after the tests

This commit is contained in:
Valentin Tolmer
2023-08-03 09:58:42 +02:00
committed by nitnelave
parent ef17c280b1
commit 3247ffc8ea

View File

@@ -81,7 +81,9 @@ jobs:
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') }}
runs-on: ubuntu-latest
steps: