techfreakworm's picture
ci: add github actions for ruff + pytest l1+l2
8c574cb unverified
raw
history blame contribute delete
593 Bytes
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install deps (CPU-only, skip ace-step + mlx)
run: |
python -m pip install --upgrade pip
pip install ruff pytest gradio safetensors peft pyloudnorm numpy
- name: Lint
run: |
ruff format --check .
ruff check .
- name: Tests (L1+L2, no GPU)
run: pytest -m "not gpu" --tb=short