enable fast fail

This commit is contained in:
powderluv
2022-06-30 00:35:00 -07:00
committed by GitHub
parent b01ffb5a22
commit 6ed957f5fb

View File

@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
fail-fast: true
matrix:
python-version: ["3.10"]
@@ -37,10 +37,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest toml
python -m pip install flake8 pytest toml black[jupyter]
- name: Lint with flake8
run: |
# black format check
black --line-length 80 --check .
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude lit.cfg.py
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
@@ -72,9 +74,9 @@ jobs:
perf-linux-cuda:
runs-on: a100
timeout-minutes: 300
continue-on-error: true
continue-on-error: false
strategy:
fail-fast: false
fail-fast: true
matrix:
python-version: ["3.10"]
@@ -104,9 +106,9 @@ jobs:
perf-linux-vulkan:
runs-on: a100
timeout-minutes: 300
continue-on-error: true
continue-on-error: false
strategy:
fail-fast: false
fail-fast: true
matrix:
python-version: ["3.10"]