Skip to content

Commit

Permalink
add mypy to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienMorey committed Nov 13, 2024
1 parent 744e522 commit 25057e4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,20 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel pytest
pip install setuptools wheel pytest mypy
- name: Build wheel
working-directory: ./photon-lib/py
run: |
python setup.py sdist bdist_wheel
- name: Run mypy type checking
uses: liskin/gh-problem-matcher-wrap@v3
with:
linters: mypy
working-directory: ./photon-lib/py
run: mypy --show-column-numbers --exclude=build .

- name: Run Unit Tests
working-directory: ./photon-lib/py
run: |
Expand Down

0 comments on commit 25057e4

Please sign in to comment.