From fe5148c12da417ff9aba59a9ceb1e382d6b7507e Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 24 Mar 2022 12:14:35 +0000 Subject: [PATCH] Check for success of initial tests on GHA --- .github/workflows/dendrite.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dendrite.yml b/.github/workflows/dendrite.yml index c1bd5a051..79d8dddef 100644 --- a/.github/workflows/dendrite.yml +++ b/.github/workflows/dendrite.yml @@ -158,11 +158,15 @@ jobs: # Dummy step to gate other tests on without repeating the whole list initial-tests-done: - name: Initial tests passed - needs: [ lint, test, build, build_windows ] - runs-on: ubuntu-latest - steps: - - run: "true" + name: Initial tests passed + needs: [ lint, test, build, build_windows ] + runs-on: ubuntu-latest + if: ${{ !cancelled() }} # Run this even if prior jobs were skipped + steps: + - name: Check initial tests passed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} # run database upgrade tests upgrade_test: