From 4b54777fcc4ee0ee2b305c5e29723d470e61a3d1 Mon Sep 17 00:00:00 2001 From: Luik Date: Tue, 3 Dec 2024 15:40:45 +0100 Subject: [PATCH] Try to install pscopg2 prereqs in sphinx gh action part N --- .github/workflows/sphinx.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 311b20a..5af6c4c 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -16,19 +16,7 @@ jobs: with: pre-build-command: | # Install necessary dependencies - apt-get update -y && \ - apt-get install -y gcc python3-dev libpq-dev postgresql-client && \ - # Ensure pg_config is available and add it to PATH if needed - if ! command -v pg_config &> /dev/null; then - PG_CONFIG_PATH=$(find /usr/lib/postgresql -type f -name pg_config | head -n 1) - if [ -n "$PG_CONFIG_PATH" ]; then - export PATH=$(dirname "$PG_CONFIG_PATH"):$PATH - else - echo "pg_config not found, exiting..." >&2 - exit 1 - fi - fi - # Validate pg_config installation + apt-get update --allow-releaseinfo-change -y && apt-get install -y gcc python3-dev libpq-dev postgresql-client pg_config --version env: SETUPTOOLS_SCM_PRETEND_VERSION: 1