Skip to content

Commit 39ee0ec

Browse files
committed
Add mypy check to CI
1 parent a37ee30 commit 39ee0ec

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/checks.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Code checks
3+
4+
"on":
5+
push:
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
check:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v5
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v6
18+
with:
19+
python-version: '3.12'
20+
21+
- name: Install dependencies
22+
run: |
23+
pip install -e ".[dev]"
24+
25+
- name: Run mypy checks
26+
run: |
27+
mypy --show-error-codes --show-column-numbers src

0 commit comments

Comments
 (0)