backport of commit 35feed08c95d6a4056c451a83445e7a3aaac52ba #10768
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-sql | |
on: | |
push: | |
paths-ignore: | |
- 'website/**' | |
workflow_call: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
test-sql: | |
runs-on: ${{ fromJSON(vars.RUNNER) }} | |
strategy: | |
matrix: | |
postgres-version: [ latest, 12-alpine, 13-alpine, 14-alpine, 15-alpine ] | |
name: SQL Tests ${{ matrix.postgres-version }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run SQL PgTap Tests | |
run: | | |
make test-sql POSTGRES_DOCKER_IMAGE_BASE=docker.mirror.hashicorp.services/postgres PG_DOCKER_TAG=${{ matrix.postgres-version }} |