Debian Codegraph @

.github/workflows/checks.yml

raw symbols SCIP
1 name: tests
2
3 on:
4 push:
5 branches: [main]
6 pull_request:
7 branches: [main]
8
9 jobs:
10 lint:
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v4
14 - name: Set up Python
15 uses: actions/setup-python@v4
16 with:
17 python-version: "3.10"
18 - name: Install Hatch
19 run: pipx install hatch
20 - name: Lint
21 run: hatch fmt --linter --check
22 - name: Type Check
23 run: hatch run mypy:check
24 - name: Check Buildable
25 run: hatch build
26
27 tests:
28 runs-on: ${{ matrix.os }}
29 strategy:
30 matrix:
31 python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
32 os: [ubuntu-latest, windows-latest]
33 steps:
34 - uses: actions/checkout@v4
35 - name: Set up Python ${{ matrix.python-version }}
36 uses: actions/setup-python@v4
37 with:
38 python-version: ${{ matrix.python-version }}
39 - name: Install Hatch
40 run: pipx install hatch
41 - name: Test
42 run: hatch test