only run if successfull

This commit is contained in:
Matthias 2021-12-02 13:09:30 +01:00
parent 3e021f35ba
commit b8a76429d1
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ jobs:
# These tests are used for code coverage analysis # These tests are used for code coverage analysis
coverage: coverage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -12,6 +12,7 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
env: env:
# Database backend configuration # Database backend configuration