From: Sarah Hoffmann Date: Thu, 30 Jun 2022 09:52:45 +0000 (+0200) Subject: CI: add mypy to tests X-Git-Tag: v4.1.0~10^2~43 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/2be45a35b40af95683740ce64162dc60d9619446?ds=inline CI: add mypy to tests --- diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 53b76a03..ab4ded0c 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -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