From f15ec673d9b6cc0023ad8597c3b9a88a0b3ef484 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Sun, 26 Feb 2023 15:01:32 -0500 Subject: [PATCH] Update deploy-tests.yml --- .github/workflows/deploy-tests.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/deploy-tests.yml b/.github/workflows/deploy-tests.yml index fe94930d6..28ea3f2f1 100644 --- a/.github/workflows/deploy-tests.yml +++ b/.github/workflows/deploy-tests.yml @@ -50,3 +50,20 @@ jobs: needs: assess-file-changes if: ${{ needs.assess-file-changes.outputs.CONVERSION_GALLERY_CHANGED == 'true' && needs.assess-file-changes.outputs.SOURCE_CHANGED != 'true' }} uses: catalystneuro/neuroconv/.github/workflows/doctests.yml@main + + check-final-status: + if: always() + + needs: + - run-tests + - run-dev-tests + - run-doctests-only + + runs-on: ubuntu-latest + + steps: + - name: Decide whether the all jobs succeeded or at least one failed + uses: re-actors/alls-green@release/v1 + with: + allowed-skips: run-tests, run-dev-tests, run-doctests-only # Each has the option to skip depending on whether src changed + jobs: ${{ toJSON(needs) }}