]> git.openstreetmap.org Git - nominatim.git/commitdiff
no type checking on old Ubuntu 18
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 14 Dec 2022 20:24:02 +0000 (21:24 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 3 Jan 2023 09:03:00 +0000 (10:03 +0100)
.github/workflows/ci-tests.yml

index 7dffe7bbc70e6c1453d21cf6ef48cebdeacfd0a4..35e6306a7830b3b6e55ddec044aedc63885899e5 100644 (file)
@@ -129,10 +129,12 @@ jobs:
 
             - name: Install newer Python packages (for typechecking info)
               run: pip3 install -U osmium uvicorn
+              if: matrix.ubuntu >= 20
 
             - name: Python static typechecking
               run: python3 -m mypy --strict nominatim
               working-directory: Nominatim
+              if: matrix.ubuntu >= 20
 
     legacy-test:
         needs: create-archive