From 2be45a35b40af95683740ce64162dc60d9619446 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 30 Jun 2022 11:52:45 +0200 Subject: [PATCH] CI: add mypy to tests --- .github/workflows/ci-tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5