File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Lint
2+ on :
3+ push :
4+ branches : [main]
5+ pull_request :
6+ branches : [main]
7+ workflow_dispatch :
8+ jobs :
9+ lint :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : astral-sh/setup-uv@v6
14+ - uses : actions/setup-python@v5
15+ with :
16+ python-version-file : .python-version
17+ - run : uv sync --group dev
18+ - run : uv run ruff check .
19+ - run : uv run ruff format --check .
Original file line number Diff line number Diff line change 1+ name : Tests
2+ on :
3+ push :
4+ branches : [main]
5+ pull_request :
6+ branches : [main]
7+ workflow_dispatch :
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : astral-sh/setup-uv@v6
14+ with :
15+ enable-cache : true
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version-file : .python-version
19+ - run : uv sync --group dev
20+ - run : uv run pytest --cov --cov-report=term-missing
Original file line number Diff line number Diff line change 1+ name : Typecheck
2+ on :
3+ push :
4+ branches : [main]
5+ pull_request :
6+ branches : [main]
7+ workflow_dispatch :
8+ jobs :
9+ typecheck :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : astral-sh/setup-uv@v6
14+ - uses : actions/setup-python@v5
15+ with :
16+ python-version-file : .python-version
17+ - run : uv sync --group dev
18+ - run : uv run pyright
You can’t perform that action at this time.
0 commit comments