Skip to content

Commit

Permalink
Add type checking to CI.
Browse files Browse the repository at this point in the history
Majsvaffla committed Apr 16, 2024
1 parent 63e2c33 commit 0938ecd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -40,6 +40,9 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 ./bankid --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Look for type errors
run: mypy

- name: Test with pytest
run: |
pytest tests --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml --cov=bankid --cov-report=xml --cov-report=html

0 comments on commit 0938ecd

Please sign in to comment.