Skip to content

Commit

Permalink
Add a 'done' job to the GHA workflow (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh authored Mar 7, 2022
1 parent 5743583 commit ff13916
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,17 @@ jobs:
python-version: ${{ matrix.python-version }}
- run: poetry run trial ${{ matrix.test-dir }}

# a job which runs once all the other jobs are complete, thus allowing PRs to
# be merged.
tests-done:
if: ${{ always() }}
needs:
- check-newsfile
- checks
- packaging
- run-tests
runs-on: ubuntu-latest
steps:
- uses: matrix-org/done-action@v2
with:
needs: ${{ toJSON(needs) }}
1 change: 1 addition & 0 deletions changelog.d/509.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a 'tests-done' Github Actions job.

0 comments on commit ff13916

Please sign in to comment.