Files
ai_mouse/.github/workflows/ci.yml
Huang Qi 7890b07a01
Some checks failed
CI / Library tests (no torch) (ubuntu-latest, 3.12) (push) Has been cancelled
CI / Library tests (no torch) (ubuntu-latest, 3.13) (push) Has been cancelled
CI / Full dev suite (with torch) (ubuntu-latest, 3.12) (push) Has been cancelled
CI / Full dev suite (with torch) (ubuntu-latest, 3.13) (push) Has been cancelled
ci: drop windows-latest from matrix
Self-hosted Gitea Actions has no Windows runner; the four Windows jobs
sat in 'Waiting' indefinitely. Linux-only matrix keeps CI green on a
single act_runner.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 01:42:46 +08:00

38 lines
857 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
library:
name: Library tests (no torch)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- run: uv venv --python ${{ matrix.python }}
- run: uv pip install -e . pytest
- run: uv run pytest tests/unit -v
dev:
name: Full dev suite (with torch)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- run: uv sync --group dev --python ${{ matrix.python }}
- run: uv run pytest tests/ -v