From 8f9d932b1d3a318f6d8d44d2d57bc5938ce6512e Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Wed, 5 Jun 2024 15:28:16 -0400 Subject: [PATCH] Add final test gate. --- .github/workflows/tests_new.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/tests_new.yaml b/.github/workflows/tests_new.yaml index a006523261..91ab07edcc 100644 --- a/.github/workflows/tests_new.yaml +++ b/.github/workflows/tests_new.yaml @@ -105,3 +105,14 @@ jobs: - config: [cuda117_gcc11_py310, mpi, llvm] test_runner: [self-hosted,GPU] test_docker_options: '--gpus=all --device /dev/nvidia0 --device /dev/nvidia1 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl' + + tests_complete: + name: Unit test + if: always() + needs: [typical] + runs-on: ubuntu-latest + + steps: + - run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}' + - name: Done + run: exit 0