Skip to content

Commit

Permalink
Fixup Python 3.12 + tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Jan 5, 2024
1 parent 68b533b commit 5b77460
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,26 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [[3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 13, "0-alpha.2"]]
os: [ubuntu-22.04, macos-12]
exclude:
- os: macos-12
include:
- os: ubuntu-22.04
python-version: [3, 7]
- os: macos-12
- os: ubuntu-22.04
python-version: [3, 8]
- os: macos-12
- os: ubuntu-22.04
python-version: [3, 9]
- os: macos-12
- os: ubuntu-22.04
python-version: [3, 10]
- os: macos-12
- os: ubuntu-22.04
python-version: [3, 11]
- os: ubuntu-22.04
python-version: [3, 12]
tox-env-python: python3.11
- os: ubuntu-22.04
python-version: [3, 13, "0-alpha.2"]
tox-env-python: python3.11
- os: macos-12
python-version: [3, 12]
tox-env-python: python3.11
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -79,4 +86,5 @@ jobs:
- name: Run Unit Tests
uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7
with:
python: ${{ matrix.tox-env-python }}
tox-env: py${{ matrix.python-version[0] }}${{ matrix.python-version[1] }} -- -vvs

0 comments on commit 5b77460

Please sign in to comment.