25 lines
624 B
YAML
25 lines
624 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: [ alpine,15-alpine, 16-alpine, 17-alpine ]
|
|
name: SQL Tests ${{ matrix.postgres-version }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.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 }}
|