Skip to content

Commit

Permalink
Test with Python 3.12
Browse files Browse the repository at this point in the history
Also simplify the test.yml workflow: using 'py' tox env will use whatever Python is found on the PATH.
  • Loading branch information
nicoddemus committed Jul 22, 2024
1 parent 0dd9bce commit 38a9d3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,8 @@ jobs:
strategy:
fail-fast: false
matrix:
tox_env: ["py310", "py311"]
python: ["3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest]
include:
- tox_env: "py310"
python: "3.10"
- tox_env: "py311"
python: "3.11"

steps:
- uses: actions/checkout@v4
Expand All @@ -39,4 +34,4 @@ jobs:
pip install tox
- name: Test
run: |
tox -e ${{ matrix.tox_env }}
tox -e py
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
test_suite="tests",
)

0 comments on commit 38a9d3d

Please sign in to comment.