From 38a9d3d88007cf09dbffd941c1126a951313941d Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 22 Jul 2024 11:54:24 -0300 Subject: [PATCH] Test with Python 3.12 Also simplify the test.yml workflow: using 'py' tox env will use whatever Python is found on the PATH. --- .github/workflows/test.yml | 9 ++------- setup.py | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 15f786c..b084d0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -39,4 +34,4 @@ jobs: pip install tox - name: Test run: | - tox -e ${{ matrix.tox_env }} + tox -e py diff --git a/setup.py b/setup.py index da76743..0a17897 100644 --- a/setup.py +++ b/setup.py @@ -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", )