]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Update Windows CI job for Postgres 14
authorDenis Laxalde <denis.laxalde@dalibo.com>
Thu, 7 Oct 2021 10:03:03 +0000 (12:03 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 7 Oct 2021 13:48:52 +0000 (15:48 +0200)
Since image 20211003.2, PostgreSQL 14 is installed:

  https://github.com/actions/virtual-environments/blob/win19/20211003.2/images/win/Windows2019-Readme.md

.github/workflows/tests.yml

index 2d1f4d7d03e1f7d804812c50666207bcadfd9a14..e5329e938fc30e88a42ad0db788276e8a7639f9a 100644 (file)
@@ -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