From 5505f8c261003b650bd7f1f303dcb23f3bbdaf0f Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 14 Jun 2025 19:38:25 +0200 Subject: [PATCH 1/3] GitHub Actions: Run tests on current versions of Python https://devguide.python.org/versions https://github.com/actions/checkout/releases https://github.com/actions/setup-python/releases --- .github/workflows/pythonpackage.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index e91406e..1699dff 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -1,5 +1,5 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions +# This workflow will install Python dependencies, run tests, and lint with a variety of Python versions +# For more information, see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Run Tests @@ -7,19 +7,20 @@ on: push: branches: [ master ] pull_request: - branches: [ master ] + # branches: [ master ] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest timeout-minutes: 5 strategy: - matrix: - python-version: [3.6, 3.7, 3.8, 3.9, '3.10'] + fail-fast: false + matrix: # https://devguide.python.org/versions + python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 3e7001aa286c1719d68b934e4c2336396814dee0 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 14 Jun 2025 19:39:17 +0200 Subject: [PATCH 2/3] Update pythonpackage.yml --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 1699dff..4175ccc 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -7,7 +7,7 @@ on: push: branches: [ master ] pull_request: - # branches: [ master ] + branches: [ master ] jobs: build: From b9bbca217b0b93a5e518f4d0ff5739d074f06b2d Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 14 Jun 2025 20:34:30 +0200 Subject: [PATCH 3/3] Update tox.ini: Add py3.11, py3.12, and py3.13 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2f426d4..895f069 100644 --- a/tox.ini +++ b/tox.ini @@ -21,9 +21,11 @@ max-complexity = 10 [gh-actions] python = - 3.8: py38 3.6: py36 3.7: py37 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 + 3.12: py312 + 3.13: py313