From 04274dc5e5469fc6a84870dd6f86280e965fccc8 Mon Sep 17 00:00:00 2001 From: Brecht Machiels Date: Thu, 1 Dec 2022 14:29:30 +0100 Subject: [PATCH] GitHub Actions: use 3.11 as current Python and add 3.12-dev --- .github/workflows/noxpy.py | 3 ++- .github/workflows/tests.yml | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/noxpy.py b/.github/workflows/noxpy.py index 0f440948a..bbbd2b8de 100644 --- a/.github/workflows/noxpy.py +++ b/.github/workflows/noxpy.py @@ -9,7 +9,8 @@ '3.8': '3.8', '3.9': '3.9', '3.10': '3.10', - '3.11.0-alpha - 3.11': '3.11', + '3.11': '3.11', + '3.12.0-alpha - 3.12': '3.12', 'pypy-3.8': 'pypy3', 'pypy-3.9': 'pypy3', 'pypy-3.10': 'pypy3', diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5049edc65..bb5b9e8e6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ on: default: false env: - current_python: '3.10' + current_python: '3.11' poetry_version: '1.1.12' nox_cmd: 'nox --verbose --error-on-missing-interpreters --session' jobs: @@ -131,7 +131,7 @@ jobs: fail-fast: false matrix: os: [Ubuntu, MacOS, Windows] - python-version: [3.7, 3.8, 3.9, '3.10', 3.11.0-alpha - 3.11, pypy-3.9] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12.0-alpha - 3.12, pypy-3.9] noxenv: [unit] cov: [1] name: [""] @@ -175,7 +175,7 @@ jobs: fail-fast: false matrix: os: [Ubuntu, MacOS, Windows] - python-version: ['3.10'] + python-version: ['3.11'] noxenv: [regression] cov: [1] name: [""] @@ -183,9 +183,10 @@ jobs: - { os: Ubuntu, python-version: 3.7, noxenv: regression, cov: 1 } - { os: Ubuntu, python-version: 3.8, noxenv: regression, cov: 1 } - { os: Ubuntu, python-version: '3.10', noxenv: regression, cov: 1 } - - { os: Ubuntu, python-version: 3.11.0-alpha - 3.11, noxenv: regression, cov: 1 } + - { os: Ubuntu, python-version: 3.11, noxenv: regression, cov: 1 } + - { os: Ubuntu, python-version: 3.12.0-alpha - 3.12, noxenv: regression, cov: 1 } - { os: Ubuntu, python-version: pypy-3.9, noxenv: regression, cov: 1 } - - { os: Ubuntu, python-version: '3.10', noxenv: regression_docutils, cov: 0, name: " (docutils)" } + - { os: Ubuntu, python-version: 3.11, noxenv: regression_docutils, cov: 0, name: " (docutils)" } - { os: Ubuntu, python-version: 3.9, noxenv: regression_sphinx, cov: 0, name: " (Sphinx)" } runs-on: ${{ matrix.os }}-latest env: