diff --git a/.github/scripts/integration-test-matrix.js b/.github/scripts/integration-test-matrix.js index 44e8baf4c..ed3196d2a 100644 --- a/.github/scripts/integration-test-matrix.js +++ b/.github/scripts/integration-test-matrix.js @@ -37,7 +37,7 @@ module.exports = ({ context }) => { if (labels.includes("test macos") || testAllLabel) { include.push({ - os: "macos-12", + os: "macos-14", adapter, "python-version": pythonVersion, }); @@ -70,7 +70,7 @@ module.exports = ({ context }) => { // additionally include runs for all adapters, on macos and windows, // but only for the default python version for (const adapter of supportedAdapters) { - for (const operatingSystem of ["windows-latest", "macos-12"]) { + for (const operatingSystem of ["windows-latest", "macos-14"]) { include.push({ os: operatingSystem, adapter: adapter, diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5eef83ff3..e4f0665ef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -173,8 +173,12 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-12, windows-latest] + os: [ubuntu-latest, macos-14, windows-latest] python-version: ['3.9', '3.10', '3.11'] + exclude: + # psycopg2-binary doesn't have a precompiled wheel for python 3.9 for mac + - os: macos-14 + python-version: '3.9' steps: - name: Set up Python ${{ matrix.python-version }}