if: matrix.ubuntu == 22
- name: Install latest pylint
- run: pip3 install pylint
+ run: pip3 install pylint mypy types-PyYAML types-jinja2 types-psycopg2
- name: PHP linting
run: phpcs --report-width=120 .
run: pylint nominatim
working-directory: Nominatim
+ - name: Python static typechecking
+ run: mypy --strict nominatim
+ working-directory: Nominatim
+
+
- name: PHP unit tests
run: phpunit ./
working-directory: Nominatim/test/php