+ - uses: ./Nominatim/.github/actions/build-nominatim
+ with:
+ flavour: ${{ matrix.flavour }}
+ lua: ${{ matrix.lua }}
+
+ - name: Install test prerequisites (behave from apt)
+ run: sudo apt-get install -y -qq python3-behave
+ if: matrix.flavour == 'ubuntu-20'
+
+ - name: Install test prerequisites (behave from pip)
+ run: pip3 install behave==1.2.6
+ if: (matrix.flavour == 'oldstuff') || (matrix.flavour == 'ubuntu-22')
+
+ - name: Install test prerequisites (from apt for Ununtu 2x)
+ run: sudo apt-get install -y -qq python3-pytest python3-pytest-asyncio uvicorn
+ if: matrix.flavour != 'oldstuff'
+
+ - name: Install newer pytest-asyncio
+ run: pip3 install -U pytest-asyncio
+ if: matrix.flavour == 'ubuntu-20'
+
+ - name: Install test prerequisites (from pip for Ubuntu 18)
+ run: pip3 install pytest pytest-asyncio uvicorn
+ if: matrix.flavour == 'oldstuff'
+
+ - name: Install Python webservers
+ run: pip3 install falcon starlette asgi_lifespan
+
+ - name: Install latest pylint
+ run: pip3 install -U pylint
+ if: matrix.flavour == 'ubuntu-22'
+
+ - name: Python linting
+ run: python3 -m pylint src
+ working-directory: Nominatim
+ if: matrix.flavour == 'ubuntu-22'
+
+ - name: Python unit tests
+ run: python3 -m pytest test/python
+ working-directory: Nominatim