From d7137f9343effbb2c505de9fcf9a360b0943fced Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Wed, 29 Jan 2025 11:37:53 +0200 Subject: [PATCH] workflows: Add a "all tests pass" check This way we can avoid naming all the matrix tests individually in "required checks to pass before merging" in GitHub UI (which requires tweaking everytime supported Python versions change). Signed-off-by: Jussi Kukkonen --- .github/workflows/_test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 76a8afbb01..b7919e59b6 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -77,6 +77,13 @@ jobs: run: | coveralls --service=github + all-tests-pass: + name: All tests passed + needs: [lint-test, tests] + runs-on: ubuntu-latest + steps: + - run: echo "All test jobs have completed successfully." + coveralls-fin: # Always run when all 'tests' jobs have finished even if they failed # TODO: Replace always() with a 'at least one job succeeded' expression