From 6df0d1e99a28dc6c6058305c8a28eaf6dd242b0a Mon Sep 17 00:00:00 2001 From: David W Bitner Date: Thu, 7 Nov 2024 15:54:22 -0600 Subject: [PATCH] fix ci --- .github/workflows/civ2.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/civ2.yml b/.github/workflows/civ2.yml index e4316137..21f9c812 100644 --- a/.github/workflows/civ2.yml +++ b/.github/workflows/civ2.yml @@ -154,6 +154,7 @@ jobs: PGDATABASE: postgres volumes: - ${{ github.workspace }}:/opt/src/ + - ${{ github.workspace }}:/src/ services: pg: image: ghcr.io/stac-utils/pgstac-base:${{ needs.check-pgstac-base.outputs.pgstac-image-hash }} @@ -166,6 +167,8 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 + ports: + - 5432:5432 steps: - uses: actions/checkout@v4 @@ -176,16 +179,9 @@ jobs: path: /tmp/wheels - name: Install pypgstac run: | - pwd - ln -s $PWD/src /src - ls -altrh /src - export - . /venv/bin/activate - echo "venv activated" - uv pip install --offline --find-links /tmp/wheels pypgstac - echo "pypgstac installed from wheel" - /scripts/test - echo "tests completed" + . /venv/bin/activate && echo "venv activated" + uv pip install --offline --find-links /tmp/wheels pypgstac && echo "pypgstac installed from wheel" + /scripts/test && echo "tests completed" # linux_x86_64: