- - name: Install test prerequsites
- run: sudo apt-get install -y -qq php-codesniffer pylint python3-pytest python3-behave
+ - uses: ./Nominatim/.github/actions/build-nominatim
+ with:
+ flavour: ${{ matrix.flavour }}
+ lua: ${{ matrix.lua }}
+
+ - name: Install test prerequsites (behave from apt)
+ run: sudo apt-get install -y -qq python3-behave
+ if: matrix.flavour == 'ubuntu-20'
+
+ - name: Install test prerequsites (behave from pip)
+ run: pip3 install behave==1.2.6
+ if: (matrix.flavour == 'oldstuff') || (matrix.flavour == 'ubuntu-22')
+
+ - name: Install test prerequsites (from apt for Ununtu 2x)
+ run: sudo apt-get install -y -qq python3-pytest uvicorn
+ if: matrix.flavour != 'oldstuff'
+
+ - name: Install test prerequsites (from pip for Ubuntu 18)
+ run: pip3 install pytest uvicorn
+ if: matrix.flavour == 'oldstuff'
+
+ - name: Install Python webservers
+ run: pip3 install falcon sanic sanic-testing sanic-cors starlette
+
+ - name: Install latest pylint/mypy
+ run: pip3 install -U pylint mypy types-PyYAML types-jinja2 types-psycopg2 types-psutil types-requests typing-extensions asgi_lifespan sqlalchemy2-stubs