CI: add mypy to tests

This commit is contained in:
Sarah Hoffmann
2022-06-30 11:52:45 +02:00
parent 9b636fdc10
commit 2be45a35b4

View File

@@ -99,7 +99,7 @@ jobs:
if: matrix.ubuntu == 22
- name: Install latest pylint
run: pip3 install pylint
run: pip3 install pylint mypy types-PyYAML types-jinja2
- name: PHP linting
run: phpcs --report-width=120 .
@@ -109,6 +109,11 @@ jobs:
run: pylint nominatim
working-directory: Nominatim
- name: Python static typechecking
run: mypy nominatim
working-directory: Nominatim
- name: PHP unit tests
run: phpunit ./
working-directory: Nominatim/test/php