From 577c4395c4569a6ce1d74e7f11c5d9906e70cc94 Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Tue, 28 Dec 2021 11:29:33 +0000 Subject: [PATCH] Python 3.11 Testing --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ tox.ini | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d97c031..542f0685 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,6 +86,17 @@ test-3.10-core: reports: cobertura: coverage.xml +test-3.11-core: + <<: *only-default + image: python:3.11-rc-bullseye + script: + - tox -e py311-core + artifacts: + when: always + reports: + cobertura: coverage.xml + allow_failure: true + test-3.7-all: <<: *only-default image: python:3.7-bullseye @@ -126,6 +137,17 @@ test-3.10-all: reports: cobertura: coverage.xml +test-3.11-all: + <<: *only-default + image: python:3.11-rc-bullseye + script: + - tox -e py311-all + artifacts: + when: always + reports: + cobertura: coverage.xml + allow_failure: true + deploy_production: stage: deploy image: python:3.10-bullseye diff --git a/tox.ini b/tox.ini index 2219c239..ea70747d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] skipsdist = true usedevelop = true -envlist = py{37,38,39,310}-{all,core} +envlist = py{37,38,39,310,311}-{all,core} [testenv] setenv = @@ -12,6 +12,7 @@ basepython = py38: python3.8 py39: python3.9 py310: python3.10 + py311: python3.11 deps= coverage install_command = pip install -e ".[testing]" -U {opts} {packages}