Skip to content

Commit

Permalink
Add a check job to GHA testing workflow (#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 22, 2021
1 parent 7023f91 commit d0f00a9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,18 @@ jobs:
with:
path: .tox/junit.*.xml
if: always()

check: # This job does nothing and is only used for the branch protection
if: always()

needs:
- linters
- unit

runs-on: Ubuntu-latest

steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit d0f00a9

Please sign in to comment.