mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +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
|
if: matrix.ubuntu == 22
|
||||||
|
|
||||||
- name: Install latest pylint
|
- name: Install latest pylint
|
||||||
run: pip3 install pylint
|
run: pip3 install pylint mypy types-PyYAML types-jinja2
|
||||||
|
|
||||||
- name: PHP linting
|
- name: PHP linting
|
||||||
run: phpcs --report-width=120 .
|
run: phpcs --report-width=120 .
|
||||||
@@ -109,6 +109,11 @@ jobs:
|
|||||||
run: pylint nominatim
|
run: pylint nominatim
|
||||||
working-directory: Nominatim
|
working-directory: Nominatim
|
||||||
|
|
||||||
|
- name: Python static typechecking
|
||||||
|
run: mypy nominatim
|
||||||
|
working-directory: Nominatim
|
||||||
|
|
||||||
|
|
||||||
- name: PHP unit tests
|
- name: PHP unit tests
|
||||||
run: phpunit ./
|
run: phpunit ./
|
||||||
working-directory: Nominatim/test/php
|
working-directory: Nominatim/test/php
|
||||||
|
|||||||
Reference in New Issue
Block a user