Skip to content

Commit 0528388

Browse files
committed
update scripts/ci
1 parent e66f43a commit 0528388

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/civ2.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ env:
2020
PGDATABASE: postgres
2121
PGUSER: postgres
2222
POSTGRES_PASSWORD: postgres
23+
UV_LINK_MODE: copy
24+
UV_COMPILE_BYTECODE: 1
25+
UV_PROJECT_ENVIRONMENT: /venv
26+
UV_PYTHON_INSTALL_DIR: /venv/bin
27+
VIRTUAL_ENVIRONMENT: /venv
2328

2429
jobs:
2530
# This builds a base postgres image that has everything installed to be able to run pgstac.
@@ -162,17 +167,16 @@ jobs:
162167
163168
steps:
164169
- uses: actions/checkout@v4
170+
- uses: astral-sh/setup-uv@v3
165171
- name: Get Wheel
166172
uses: actions/download-artifact@v4
167173
with:
168174
name: wheels-x86_64
169175
path: /tmp/wheels
170176
- name: Install pypgstac
171-
working-directory: /__w/pgstac/pgstac/src/pypgstac
172177
run: |
173178
for i in /tmp/wheels/pypgstac*x86_64.whl; do uv pip install pypgstac @ $i; done
174179
175180
- name: Run tests
176-
working-directory: /__w/pgstac/pgstac/docker/pypgstac/bin
177181
run: |
178-
./test
182+
./home/runner/work/pgstac/pgstac/docker/bin/test

0 commit comments

Comments
 (0)