From 9395d1ea004f18bc01f27c14580b5556ef9cb3b5 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Mon, 28 Oct 2024 12:48:35 -0700 Subject: [PATCH] Install postgres and testing.postgresql --- .github/workflows/build.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 297b6ec..989adb3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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