From 4f41157e03eaf7c07fece0d3455f4da087828349 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 14 Aug 2024 16:50:04 +0200 Subject: [PATCH] ci: use python 3.12 as the reference version for tests --- .github/workflows/build-wheels.yml | 2 +- .github/workflows/pytest.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 4e32a239..a3f3e845 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -27,7 +27,7 @@ jobs: if: startsWith(matrix.os, 'macos') uses: actions/setup-python@v2 with: - python-version: 3.11 + python-version: 3.12 - name: Cache dependencies uses: actions/cache@v4 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index b4fecc57..0d0b3f20 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.10", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] # An issue with secp256k1 prevents Python 3.12 from working # See https://github.com/baking-bad/pytezos/issues/370 runs-on: ubuntu-latest @@ -37,13 +37,13 @@ jobs: /tmp/venv/bin/pip freeze /tmp/venv/bin/hatch run testing:pip freeze /tmp/venv/bin/hatch run testing:test - if: matrix.python-version != '3.11' + if: matrix.python-version != '3.12' - run: /tmp/venv/bin/hatch run testing:cov - if: matrix.python-version == '3.11' + if: matrix.python-version == '3.12' - uses: codecov/codecov-action@v4.0.1 - if: matrix.python-version == '3.11' + if: matrix.python-version == '3.12' with: token: ${{ secrets.CODECOV_TOKEN }} slug: aleph-im/aleph-sdk-python