mirror of https://github.com/jackc/pgx.git
CI Windows: Initialize test database
parent
33d4fa0fa6
commit
bad6b36c47
|
@ -146,6 +146,14 @@ jobs:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Initialize test database
|
||||||
|
run: |
|
||||||
|
psql -f testsetup/postgresql_setup.sql pgx_test
|
||||||
|
|
||||||
|
env:
|
||||||
|
PGSERVICE: ${{ steps.postgres.outputs.service-name }}
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v -race -timeout 5m ./...
|
run: go test -v -race -timeout 5m ./...
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue