Skip to content

Upgrade CI to check latest postgres/postgis matrices #94

Upgrade CI to check latest postgres/postgis matrices

Upgrade CI to check latest postgres/postgis matrices #94

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
release:
types: ['prereleased', 'released']
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
postgis:
- postgis/postgis:12-3.2
- postgis/postgis:15-3.4
- postgis/postgis:16-3.4
env:
POSTGRES_DB: qwat_test

Check failure on line 30 in .github/workflows/run_tests.yml

View workflow run for this annotation

GitHub Actions / Run tests

Invalid workflow file

The workflow is not valid. .github/workflows/run_tests.yml (Line: 30, Col: 11): A mapping was not expected
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
env:
PGSERVICEFILE: ${{github.workspace}}/tests/pg_service.conf
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Python dependencies
run: pip install -r requirements.txt
- name: Run tests
run: tests/tests.sh
- name: Run scalability tests
run: tests/tests_scalability.sh -i 20
- name: Run scalability tests multithreaded
run: tests/tests_scalability_multithread.sh -i 20
- name: Run upgrade tests
run: tests/tests_upgrade.sh