Skip to content

Commit

Permalink
Install postgres and testing.postgresql
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Oct 29, 2024
1 parent edb6005 commit 7872bf8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,23 @@ jobs:
channels: conda-forge,defaults
channel-priority: strict
show-channel-urls: true
miniforge-variant: Mambaforge
use-mamba: true

- name: Install postgres for testing
shell: bash -l {0}
run: |
conda install postgresql psycopg2
- name: Update pip/wheel infrastructure
shell: bash -l {0}
run: |
mamba install -y -q pip wheel
conda install -y -q pip wheel
pip install uv
- name: Install dependencies
shell: bash -l {0}
run: |
uv pip install -r requirements.txt
uv pip install testing.postgresql
# We have two cores so we can speed up the testing with xdist
- name: Install pytest packages
Expand Down

0 comments on commit 7872bf8

Please sign in to comment.