Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bitner committed Nov 7, 2024
1 parent d4c3792 commit 6df0d1e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/civ2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -166,6 +167,8 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432

steps:
- uses: actions/checkout@v4
Expand All @@ -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:
Expand Down

0 comments on commit 6df0d1e

Please sign in to comment.