name: PostgreSQL compatibility
on:
pull_request:
push:
branches:
workflow_dispatch:
jobs:
postgres:
name: PostgreSQL ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Required pg-proto and next-Proxy compatibility contract.
version:
env:
PG_PROTO_POSTGRES_VERSION: ${{ matrix.version }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --test postgres_container -- --ignored