Skip to content

update postgres version matrix #323

update postgres version matrix

update postgres version matrix #323

name: Interlis-tests
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
interlis-tests:
name: Interlis-tests
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
suite: ["qgep", "qwat"]
postgis:
- postgis/postgis:15-3.4
- postgis/postgis:12-3.0
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install python deps
run: pip install -r requirements.txt
- name: Run tests
run: python -m unittest qgepqwat2ili.tests.test_$SUITE
env:
SUITE: ${{ matrix.suite }}
QGEPQWAT2ILI_TESTDB_IMAGE: ${{ matrix.postgis }}
PGHOST: 127.0.0.1
PGPORT: 5432
PGDATABASE: qgep_prod
PGUSER: postgres
PGPASS: postgres