diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8da21e7..ac8f5528 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,6 +58,19 @@ jobs: MPLBACKEND: Agg run: micromamba run -n myenv python -m pytest --timeout=50 --timeout-method=thread + all-tests-passed: + name: All tests passed + needs: test + runs-on: ubuntu-latest + if: always() + steps: + - name: Check test matrix result + run: | + if [ "${{ needs.test.result }}" != "success" ]; then + echo "test matrix did not succeed: ${{ needs.test.result }}" + exit 1 + fi + codecov: needs: test if: github.event_name == 'push'