Skip to content

Commit

Permalink
ci: use python 3.12 as the reference version for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Oct 4, 2024
1 parent 99c59ef commit 4f41157
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
if: matrix.python-version == '3.11'
if: matrix.python-version == '3.12'
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: aleph-im/aleph-sdk-python

0 comments on commit 4f41157

Please sign in to comment.