Files
ComfyUI/.github/workflows/test-execution.yml
bymyself 2d43a135eb ci: make unit and execution tests able to fail a PR
Both jobs were continue-on-error: true at the job level, so a failing
pytest run reported success. They are the only two jobs in the workflow
tree that do this.

Verified green before removing the flag: the last 30 completed runs of
each workflow on master (90 matrix jobs each, ubuntu/windows/macos) have
zero failing steps.

Also sets fail-fast: false so one OS failing no longer cancels the other
two matrix legs' results.
2026-08-10 13:56:57 -07:00

31 lines
834 B
YAML

name: Execution Tests
on:
push:
branches: [ main, master, release/** ]
pull_request:
branches: [ main, master, release/** ]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
pip install -r tests-unit/requirements.txt
- name: Run Execution Tests
run: |
python -m pytest tests/execution -v --skip-timing-checks