From eaee12e4dce2bd43bcf4d57e6ee7d5548e7a510d Mon Sep 17 00:00:00 2001 From: Francesco De Martino Date: Tue, 2 Sep 2025 12:17:37 +0200 Subject: [PATCH] Add tests for Python versions 3.11, 3.12, 3.13 --- .github/workflows/ci.yml | 25 ++++++++++++++++++++----- tox.ini | 3 ++- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ed7f3a41..138ae4e4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,10 @@ jobs: name: - Python 3.9 Tests - Python 3.10 Tests - - Python 3.9 Tests Coverage + - Python 3.11 Tests + - Python 3.12 Tests + - Python 3.13 Tests + - Python 3.12 Tests Coverage - Code Checks include: - name: Python 3.9 Tests @@ -39,12 +42,24 @@ jobs: python: '3.10' toxdir: cli toxenv: py310-nocov - - name: Python 3.9 Tests Coverage - python: 3.9 + - name: Python 3.11 Tests + python: '3.11' + toxdir: cli + toxenv: py311-nocov + - name: Python 3.12 Tests + python: '3.12' + toxdir: cli + toxenv: py312-nocov + - name: Python 3.13 Tests + python: '3.13' toxdir: cli - toxenv: py39-cov + toxenv: py313-nocov + - name: Python 3.12 Tests Coverage + python: 3.12 + toxdir: cli + toxenv: py312-cov - name: Code Checks - python: 3.9 + python: 3.12 toxdir: cli toxenv: code-linters diff --git a/tox.ini b/tox.ini index 2fc514e6f..6e19dc848 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{39,310}-cov + py{39,310,311,312,313}-cov code-linters # Default testenv. Used to run tests on all python versions. @@ -14,6 +14,7 @@ usedevelop = allowlist_externals = bash deps = + setuptools -r tests/requirements.txt commands = nocov: pytest -n auto -l -v --basetemp={envtmpdir} --html=report.html --ignore=src tests/