Skip to content

Commit

Permalink
Disable fail-fast in CI (pytorch#161)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
msaroufim authored Apr 23, 2024
1 parent 5694f8e commit d6bbfac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/regression_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d6bbfac

Please sign in to comment.