Skip to content

Commit d26f1e3

Browse files
committed
Add mypy checking to CI
1 parent f48b3fe commit d26f1e3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/dist.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,18 @@ jobs:
1717
secrets:
1818
META_REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
1919
PYPI_API_TOKEN: ${{ secrets.PYPI_PASSWORD }}
20+
21+
check-mypy:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v3
25+
- uses: actions/setup-python@v4
26+
with:
27+
python-version: "3.12"
28+
- name: Install requirements
29+
run: |
30+
pip --disable-pip-version-check install mypy setuptools
31+
pip --disable-pip-version-check install --no-build-isolation -e .
32+
- name: Run mypy
33+
run: |
34+
mypy commands2

0 commit comments

Comments
 (0)