|
19 | 19 | - "3.10" |
20 | 20 | - "3.11" |
21 | 21 | - "3.12" |
| 22 | + # - "3.13" |
22 | 23 | exclude: |
23 | | - - os: windows-latest |
24 | | - python-version: "3.12" |
| 24 | + # - os: windows-latest |
| 25 | + # python-version: "3.13" |
| 26 | + - os: macos-latest |
| 27 | + python-version: "3.7" |
25 | 28 | runs-on: ${{matrix.os}} |
26 | 29 | name: 'Run Tests on ${{matrix.os}} with Python ${{matrix.python-version}}' |
27 | 30 |
|
@@ -49,20 +52,21 @@ jobs: |
49 | 52 | - name: Install psycopg2-binary for Windows using local wheel |
50 | 53 | if: matrix.os == 'windows-latest' |
51 | 54 | run: | |
52 | | - # Determine the wheel filename based on the Python version |
53 | | - $wheelFilename = switch ("${{ matrix.python-version }}") { |
54 | | - "3.7" { "psycopg2-2.9.3-cp37-cp37m-win_amd64.whl" } |
55 | | - "3.8" { "psycopg2-2.9.3-cp38-cp38-win_amd64.whl" } |
56 | | - "3.9" { "psycopg2-2.9.3-cp39-cp39-win_amd64.whl" } |
57 | | - "3.10" { "psycopg2-2.9.3-cp310-cp310-win_amd64.whl" } |
58 | | - "3.11" { "psycopg2-2.9.3-cp311-cp311-win_amd64.whl" } |
59 | | - } |
| 55 | + # # Determine the wheel filename based on the Python version |
| 56 | + # $wheelFilename = switch ("${{ matrix.python-version }}") { |
| 57 | + # "3.7" { "psycopg2-2.9.3-cp37-cp37m-win_amd64.whl" } |
| 58 | + # "3.8" { "psycopg2-2.9.3-cp38-cp38-win_amd64.whl" } |
| 59 | + # "3.9" { "psycopg2-2.9.3-cp39-cp39-win_amd64.whl" } |
| 60 | + # "3.10" { "psycopg2-2.9.3-cp310-cp310-win_amd64.whl" } |
| 61 | + # "3.11" { "psycopg2-2.9.3-cp311-cp311-win_amd64.whl" } |
| 62 | + # } |
60 | 63 |
|
61 | | - # Print the wheel filename for debugging |
62 | | - Write-Host "Determined wheel filename: $wheelFilename" |
| 64 | + # # Print the wheel filename for debugging |
| 65 | + # Write-Host "Determined wheel filename: $wheelFilename" |
63 | 66 |
|
64 | | - # Install the wheel |
65 | | - pip install ./tests/whls/$wheelFilename |
| 67 | + # # Install the wheel |
| 68 | + # pip install ./tests/whls/$wheelFilename |
| 69 | + pip install "psycopg[binary]" |
66 | 70 | shell: powershell |
67 | 71 | # End Windows specific |
68 | 72 |
|
|
0 commit comments