Python 3.11 Testing

This commit is contained in:
Ariel Rin 2021-12-28 11:29:33 +00:00
parent bd9ea225be
commit 577c4395c4
2 changed files with 24 additions and 1 deletions

View File

@ -86,6 +86,17 @@ test-3.10-core:
reports: reports:
cobertura: coverage.xml 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: test-3.7-all:
<<: *only-default <<: *only-default
image: python:3.7-bullseye image: python:3.7-bullseye
@ -126,6 +137,17 @@ test-3.10-all:
reports: reports:
cobertura: coverage.xml 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: deploy_production:
stage: deploy stage: deploy
image: python:3.10-bullseye image: python:3.10-bullseye

View File

@ -1,7 +1,7 @@
[tox] [tox]
skipsdist = true skipsdist = true
usedevelop = true usedevelop = true
envlist = py{37,38,39,310}-{all,core} envlist = py{37,38,39,310,311}-{all,core}
[testenv] [testenv]
setenv = setenv =
@ -12,6 +12,7 @@ basepython =
py38: python3.8 py38: python3.8
py39: python3.9 py39: python3.9
py310: python3.10 py310: python3.10
py311: python3.11
deps= deps=
coverage coverage
install_command = pip install -e ".[testing]" -U {opts} {packages} install_command = pip install -e ".[testing]" -U {opts} {packages}