techfreakworm's picture
ci: run unit tests + ruff lint on every push
3ea399a unverified
raw
history blame contribute delete
637 Bytes
name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: false # ComfyUI submodule not needed for L1+L3 tests
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install runtime + dev deps
run: |
pip install -U pip
pip install -r requirements.txt
- name: Run unit + integration tests (no GPU)
run: |
python -m pytest tests/ -v -m "not gpu"
- name: Lint
run: |
ruff check .
ruff format --check .