backport of commit 0ec5bcd1f0600134af6da6ee618afc5073fc61de #7085
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Run SQL PgTap Tests | |
run: | | |
make test-sql POSTGRES_DOCKER_IMAGE_BASE=docker.mirror.hashicorp.services/postgres PG_DOCKER_TAG=${{ matrix.postgres-version }} |