From d50f13528bc832eaa00d2e8f2dae3390f0a66db7 Mon Sep 17 00:00:00 2001 From: Joel Falknau Date: Thu, 22 Aug 2024 12:58:54 +1000 Subject: [PATCH] add python 3.13 RC to tox allow fail --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ tox.ini | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be852702..cc8a1370 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,6 +87,19 @@ test-3.12-core: coverage_format: cobertura path: coverage.xml +test-3.13-core: + <<: *only-default + image: python:3.13-rc-bookworm⁠ + script: + - tox -e py313-core + artifacts: + when: always + reports: + coverage_report: + coverage_format: cobertura + path: coverage.xml + allow_failure: true + test-3.10-all: <<: *only-default image: python:3.10-bookworm @@ -124,6 +137,19 @@ test-3.12-all: coverage_format: cobertura path: coverage.xml +test-3.13-all: + <<: *only-default + image: python:3.13-rc-bookworm⁠ + script: + - tox -e py313-all + artifacts: + when: always + reports: + coverage_report: + coverage_format: cobertura + path: coverage.xml + allow_failure: true + build-test: stage: test image: python:3.12-bookworm diff --git a/tox.ini b/tox.ini index 0930e784..d8f96955 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ isolated_build = true skipsdist = true usedevelop = true -envlist = py{310,311,312}-{all,core}, docs +envlist = py{310,311,312,313}-{all,core}, docs [testenv] setenv = @@ -12,6 +12,7 @@ basepython = py310: python3.10 py311: python3.11 py312: python3.12 + py313: python3.13 deps= coverage install_command = pip install -e ".[test]" -U {opts} {packages}