Skip to content

Commit 5614aaa

Browse files
committed
add type checking to ci
1 parent a4178b9 commit 5614aaa

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,29 @@ on:
77
branches: [main]
88

99
jobs:
10+
typing:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
15+
fail-fast: false
16+
defaults:
17+
run:
18+
shell: bash
19+
steps:
20+
- name: Check out
21+
uses: actions/checkout@v4
22+
23+
- name: Set up the environment
24+
uses: ./.github/actions/setup-python-env
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
28+
- name: Run mypy
29+
run: uv run mypy .
30+
1031
tests:
32+
needs: typing
1133
runs-on: ubuntu-latest
1234
strategy:
1335
matrix:

0 commit comments

Comments
 (0)