diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 860d9f9..7607608 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -51,9 +51,10 @@ jobs: e2e: name: e2e runs-on: ubuntu-latest + container: ubuntu:latest env: BATS_LIB_PATH: "${{ github.workspace }}/test/bats/lib/" - PGHOST: postgres + PGHOST: localhost PGUSER: postgres PGPASSWORD: hackme PGDATABASE: unittest diff --git a/scripts/bats/configuration/template.yaml b/scripts/bats/configuration/template.yaml index 5617efe..5339d2f 100644 --- a/scripts/bats/configuration/template.yaml +++ b/scripts/bats/configuration/template.yaml @@ -3,4 +3,4 @@ debug: true log-format: text -connection-url: postgres://postgres:hackme@postgres/unittest +connection-url: postgres://postgres:hackme@localhost/unittest diff --git a/scripts/bats/configuration/valid.yaml b/scripts/bats/configuration/valid.yaml index ca4453e..1465ebe 100644 --- a/scripts/bats/configuration/valid.yaml +++ b/scripts/bats/configuration/valid.yaml @@ -3,7 +3,7 @@ debug: true log-format: text -connection-url: postgres://postgres:hackme@postgres/unittest +connection-url: postgres://postgres:hackme@localhost/unittest partitions: by_date: