diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index ec1c8a3b..c6a94ab2 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -42,3 +42,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) }} diff --git a/changelog.d/510.misc b/changelog.d/510.misc new file mode 100644 index 00000000..fba6a0d9 --- /dev/null +++ b/changelog.d/510.misc @@ -0,0 +1 @@ +Add a 'tests-done' Github Actions job.