From: Denis Laxalde Date: Thu, 7 Oct 2021 10:03:03 +0000 (+0200) Subject: Update Windows CI job for Postgres 14 X-Git-Tag: 3.0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080c4cfe24438c7b7c5a72a6ef8a6a2af1d0572d;p=thirdparty%2Fpsycopg.git Update Windows CI job for Postgres 14 Since image 20211003.2, PostgreSQL 14 is installed: https://github.com/actions/virtual-environments/blob/win19/20211003.2/images/win/Windows2019-Readme.md --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d1f4d7d0..e5329e938 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -214,7 +214,7 @@ jobs: - name: Build the C wheel if: ${{ matrix.impl == 'c' }} run: | - $env:Path = "C:\Program Files\PostgreSQL\13\bin\;$env:Path" + $env:Path = "C:\Program Files\PostgreSQL\14\bin\;$env:Path" python ./psycopg_c/setup.py bdist_wheel pip install delvewheel &"delvewheel" repair --no-mangle "libiconv-2.dll;libwinpthread-1.dll" @(Get-ChildItem psycopg_c\dist\*.whl) @@ -227,7 +227,7 @@ jobs: pip install ./psycopg/[test] ./psycopg_pool &"pip" install @(Get-ChildItem wheelhouse\*.whl) # Fix the path for the tests using ctypes - $env:Path = "C:\Program Files\PostgreSQL\13\bin\;$env:Path" + $env:Path = "C:\Program Files\PostgreSQL\14\bin\;$env:Path" pytest --color yes