diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0b26dcc0..1723bbd9 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -7,7 +7,15 @@ on: types: [completed] jobs: - run: + on-failure: + name: Notify on failure + runs-on: ${{ matrix.os }} + if: ${{ github.event.workflow_run.conclusion == 'failure' }} + steps: + - run: | + echo 'The triggering workflow failed.' + 0 + on-success: name: Full tests on ${{ matrix.os }} with Python ${{ matrix.python-version }} runs-on: ${{ matrix.os }} strategy: