diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ccd3c51..a2460e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,18 +11,6 @@ on: jobs: tests: runs-on: ubuntu-latest - services: - postgres: - image: postgres - env: - POSTGRES_PASSWORD: postgres - ports: - - 5432:5432 - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 env: PIP_CONSTRAINT: .github/workflows/constraints.txt strategy: diff --git a/docker-compose.yml b/docker-compose.yml index b9c5ac0..1253d1b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,15 @@ services: networks: - inner + postgres_no_ssl: + image: postgres:latest + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_DB: postgres + ports: + - "5432:5432" + postgresdb: image: postgres:13.0 environment: