From eb8ab3293dd2b88cefed8191c6a792719665b853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20R=C3=B6bke?= Date: Tue, 17 Dec 2024 15:45:22 +0100 Subject: [PATCH] Update python-app.yml Add PostgreSQL to PATH https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable --- .github/workflows/python-app.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 6115699..1f75f7b 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -67,7 +67,8 @@ jobs: other_os_tests: strategy: matrix: - os: [macos-latest, windows-latest] + os: [windows-latest] + # os: [macos-latest, windows-latest] runs-on: ${{ matrix.os }} continue-on-error: true @@ -85,13 +86,19 @@ jobs: python -m pip install --upgrade pip pip install wheel + - name: Add PostgreSQL to PATH + run: | + echo "$PGBIN" >> "$GITHUB_PATH" + pg_config --version + echo "$PGROOT/lib" >> "$PQ_LIB_DIR" + - name: Setup Graphviz uses: ts-graphviz/setup-graphviz@v2 with: macos-skip-brew-update: 'true' # default false windows-graphviz-version: '2.49.3' - - name: register plugins for graphviz + - name: Register plugins for Graphviz if: ${{ runner.os == 'Windows' }} run: | dot -V