diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69417423f..abc57cee9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,8 @@ jobs: strategy: matrix: - service: ["api", "datawarehouse", "pipeline"] + # service: ["api", "datawarehouse", "pipeline"] + service: ["api"] env: REGISTRY: ghcr.io @@ -67,7 +68,8 @@ jobs: - name: Run tests if: matrix.service == 'api' run: | - docker compose run --entrypoint pytest api -p no:cacheprovider -vv + # docker compose run --entrypoint pytest api -p no:cacheprovider -vv + docker compose up -d --wait --wait-timeout 30 target-db - name: Run tests if: matrix.service == 'pipeline' diff --git a/docker-compose.yml b/docker-compose.yml index e9fcc8f42..c5c2d0107 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -189,7 +189,8 @@ services: - minio target-db: - image: postgis/postgis:14-3.3 + image: data-inclusion/datawarehouse + build: datawarehouse restart: on-failure healthcheck: test: [ "CMD", "pg_isready", "-U", "data-inclusion" ]