name: make installcheck
on: [push, pull_request]
jobs:
  test:
    strategy:
      matrix:
        pg: [18, 17, 16, 15, 14, 13, 12, 11, 10, 9.6]
    name: PostgreSQL ${{ matrix.pg }}
    runs-on: ubuntu-latest
    container: pgxn/pgxn-tools
    steps:

      - name: Start PostgreSQL ${{ matrix.pg }}
        run: pg-start ${{ matrix.pg }}

      - name: Check out the repo
        uses: actions/checkout@v6

      - name: Test on PostgreSQL ${{ matrix.pg }}
        run: pg-build-test
