Spaces:
Running on Zero
Running on Zero
| 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 | |