backport of commit fbc584eed751ae5167768d42741d3645aa4d688e #9169
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Run SQL PgTap Tests | |
run: | | |
make test-sql POSTGRES_DOCKER_IMAGE_BASE=docker.mirror.hashicorp.services/postgres PG_DOCKER_TAG=${{ matrix.postgres-version }} |