fix: connect integration tests to Compose network
This commit is contained in:
@@ -31,11 +31,16 @@ jobs:
|
||||
make test
|
||||
|
||||
- name: Running PostgreSQL Integration Tests
|
||||
run: make test-integration
|
||||
run: |
|
||||
make dev-up
|
||||
docker network connect postgresql-tenant-operator-dev_default "${HOSTNAME}"
|
||||
POSTGRES_TEST_DSN="postgres://postgres:postgres-dev-only@postgres:5432/postgres?sslmode=disable" make test-integration
|
||||
|
||||
- name: Clean up Integration Dependencies
|
||||
if: always()
|
||||
run: make dev-down
|
||||
run: |
|
||||
docker network disconnect postgresql-tenant-operator-dev_default "${HOSTNAME}" || true
|
||||
make dev-down
|
||||
|
||||
- name: Verify generated files and modules are current
|
||||
run: git diff --exit-code
|
||||
|
||||
Reference in New Issue
Block a user