Skip to content

test on multiple postgres versions #101

test on multiple postgres versions

test on multiple postgres versions #101

Workflow file for this run

name: tests
on:
pull_request:
push: { branches: [master] }
jobs:
test:
name: Run tests
strategy:
matrix:
postgres: [14, 15, 16, 17]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build docker images
run: PG_VERSION=${{ matrix.postgres }} docker compose -f .ci/docker-compose.yaml build
- name: Run tests
run: PG_VERSION=${{ matrix.postgres }} docker compose -f .ci/docker-compose.yaml run test_pg_jsonschema