From d6bbfac549e7629a12e1980ebaf0b7ba974d92de Mon Sep 17 00:00:00 2001 From: Mark Saroufim Date: Tue, 23 Apr 2024 14:56:36 -0700 Subject: [PATCH] Disable fail-fast in CI (#161) * Disable fail-fast in CI A lot of our CI failures are because there's some missing missing flag/feature available in nightlies or because some cpu of cuda skip test wheras the behavior right now is if 1 CI job fails all the other jobs get canceled. The main benefit of the old behavior is shorter queue times so we can revisit flipping this back off when/if queue times become a problem * Update regression_test.yml * Update regression_test.yml * Trigger CI * Trigger CI --- .github/workflows/regression_test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/regression_test.yml b/.github/workflows/regression_test.yml index 0a53eb911e..c78d956171 100644 --- a/.github/workflows/regression_test.yml +++ b/.github/workflows/regression_test.yml @@ -8,9 +8,14 @@ on: branches: - main +concurrency: + group: regression_test-${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} + cancel-in-progress: true + jobs: test: strategy: + fail-fast: false matrix: include: - name: CUDA 2.2.2 @@ -31,6 +36,7 @@ jobs: - name: Nightly CPU runs-on: 32-core-ubuntu torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cpu' + runs-on: ${{ matrix.runs-on }} steps: - uses: actions/checkout@v2