fix: Allow psycopg2-binary to be optional again (#8065)
This commit is contained in:
1 parent
136a500881
commit
07aac89902
3 files changed
+16
-6
No files matched your search
@@ -67,7 +67,7 @@ jobs:
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .venv
|
||||
key: venv-${{ runner.os }}-${{ hashFiles('**/uv.lock') }}
|
||||
key: venv-${{ runner.os }}-${{ matrix.Database }}-${{ hashFiles('**/uv.lock') }}
|
||||
|
||||
- name: Check venv cache
|
||||
id: cache-validate
|
||||
@@ -81,7 +81,11 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libsasl2-dev libldap2-dev libssl-dev
|
||||
uv sync --group dev --extra pgsql
|
||||
if [ "${{ matrix.Database }}" = "postgres" ]; then
|
||||
uv sync --group dev --extra pgsql
|
||||
else
|
||||
uv sync --group dev
|
||||
fi
|
||||
if: steps.cached-python-dependencies.outputs.cache-hit != 'true' || steps.cache-validate.outputs.cache-hit-success != 'true'
|
||||
|
||||
- name: Formatting (Ruff)
|
||||
|
||||
Reference in new issue
Block a user