mirror of https://github.com/hashicorp/boundary
ci(sqltest): Add github action workflow for sql tests (#2977)
parent
ac3543bdfb
commit
5c19dba3c9
@ -0,0 +1,19 @@
|
||||
name: test-sql
|
||||
|
||||
on:
|
||||
- workflow_dispatch
|
||||
- push
|
||||
- workflow_call
|
||||
|
||||
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@v3
|
||||
- name: Run SQL PgTap Tests
|
||||
run: |
|
||||
make test-sql POSTGRES_DOCKER_IMAGE_BASE=docker.mirror.hashicorp.services/postgres PG_DOCKER_TAG=${{ matrix.postgres-version }}
|
||||
Loading…
Reference in new issue