Files
threshold/.github/workflows/test-sql.yml
T
Timothy Messier 236d7ca872 ci: Additional githubaction configuration (#3034)
- Pin action versions
- Dependabot to notify about action updates
- Update codeowners
2023-03-01 08:00:46 -05:00

23 lines
611 B
YAML

name: test-sql
on:
- workflow_dispatch
- push
- workflow_call
permissions:
contents: read
jobs:
test-sql:
runs-on: ${{ fromJSON(vars.RUNNER) }}
strategy:
matrix:
postgres-version: [ latest, 11-alpine, 12-alpine, 13-alpine, 14-alpine, 15-alpine ]
name: SQL Tests ${{ matrix.postgres-version }}
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.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 }}