Skip to content

Commit

Permalink
update scripts/ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bitner committed Oct 29, 2024
1 parent cb249ad commit 55d000d
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/civ2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ env:
PGDATABASE: postgres
PGUSER: postgres
POSTGRES_PASSWORD: postgres
UV_LINK_MODE: copy
UV_COMPILE_BYTECODE: 1
UV_PROJECT_ENVIRONMENT: /tmp/venv
UV_PYTHON_INSTALL_DIR: /tmp/venv/bin
VIRTUAL_ENVIRONMENT: /tmp/venv


jobs:
# This builds a base postgres image that has everything installed to be able to run pgstac.
Expand Down Expand Up @@ -205,11 +201,12 @@ jobs:
path: /tmp/wheels
- name: Install pypgstac
run: |
uv venv --allow-existing --relocatable /tmp/venv
/tmp/venv/bin/activate
uv venv
venv/bin/activate
uv pip install psycopg[binary] psycopg-pool
uv sync --frozen --no-install-project --extra test --extra dev
for i in /tmp/wheels/pypgstac*x86_64.whl; do echo "Installing $i"; uv pip install pypgstac@$i; done
uv pip install --offline --find-links /tmp/wheels pypgstac
- name: Run tests
run: |
Expand Down

0 comments on commit 55d000d

Please sign in to comment.