mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
enable fast fail
This commit is contained in:
14
.github/workflows/test-models.yml
vendored
14
.github/workflows/test-models.yml
vendored
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user