Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
25 lines
636 B
YAML
25 lines
636 B
YAML
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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
|
- name: Run SQL PgTap Tests
|
|
run: |
|
|
make test-sql POSTGRES_DOCKER_IMAGE_BASE=docker.mirror.hashicorp.services/postgres PG_DOCKER_TAG=${{ matrix.postgres-version }}
|