mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
CI: add mypy to tests
This commit is contained in:
7
.github/workflows/ci-tests.yml
vendored
7
.github/workflows/ci-tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user