Skip to content

Commit 6df0d1e

Browse files
committed
fix ci
1 parent d4c3792 commit 6df0d1e

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/civ2.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ jobs:
154154
PGDATABASE: postgres
155155
volumes:
156156
- ${{ github.workspace }}:/opt/src/
157+
- ${{ github.workspace }}:/src/
157158
services:
158159
pg:
159160
image: ghcr.io/stac-utils/pgstac-base:${{ needs.check-pgstac-base.outputs.pgstac-image-hash }}
@@ -166,6 +167,8 @@ jobs:
166167
--health-interval 10s
167168
--health-timeout 5s
168169
--health-retries 5
170+
ports:
171+
- 5432:5432
169172

170173
steps:
171174
- uses: actions/checkout@v4
@@ -176,16 +179,9 @@ jobs:
176179
path: /tmp/wheels
177180
- name: Install pypgstac
178181
run: |
179-
pwd
180-
ln -s $PWD/src /src
181-
ls -altrh /src
182-
export
183-
. /venv/bin/activate
184-
echo "venv activated"
185-
uv pip install --offline --find-links /tmp/wheels pypgstac
186-
echo "pypgstac installed from wheel"
187-
/scripts/test
188-
echo "tests completed"
182+
. /venv/bin/activate && echo "venv activated"
183+
uv pip install --offline --find-links /tmp/wheels pypgstac && echo "pypgstac installed from wheel"
184+
/scripts/test && echo "tests completed"
189185
190186
191187
# linux_x86_64:

0 commit comments

Comments
 (0)