if: matrix.flavour != 'oldstuff'
- name: Install newer pytest-asyncio
- run: pip3 install -U pytest-asyncio==0.21.1
+ run: pip3 install -U pytest-asyncio
if: matrix.flavour == 'ubuntu-20'
- name: Install test prerequsites (from pip for Ubuntu 18)
needs: create-archive
runs-on: ubuntu-20.04
+ strategy:
+ matrix:
+ postgresql: ["13", "16"]
+
steps:
- uses: actions/download-artifact@v4
with:
- uses: ./Nominatim/.github/actions/setup-postgresql
with:
- postgresql-version: 13
+ postgresql-version: ${{ matrix.postgresql }}
postgis-version: 3
- name: Install Postgresql server dev
- run: sudo apt-get install postgresql-server-dev-13
+ run: sudo apt-get install postgresql-server-dev-$PGVER
+ env:
+ PGVER: ${{ matrix.postgresql }}
- uses: ./Nominatim/.github/actions/build-nominatim
with: