Skip to content

Commit

Permalink
Merge pull request #1294 from webknjaz/maintenance/gha-check
Browse files Browse the repository at this point in the history
Add a gate job to GHA CI/CD
  • Loading branch information
webknjaz authored Sep 6, 2023
2 parents c6ec57b + 04c2d07 commit c133e39
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,21 @@ jobs:
- name: Nox ${{ matrix.noxenv }}
run: |
python -m nox -s ${{ matrix.noxenv }}
check:
# This job does nothing and is only used for the branch protection
# or multi-stage CI jobs, like making sure that all tests pass before
# a publishing job is started.
if: always()

needs:
- build

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 c133e39

Please sign in to comment.