Merge branch 'pypy' into 'master'

Add pypy testing

See merge request allianceauth/allianceauth!1474
This commit is contained in:
Ariel Rin 2023-01-25 05:00:16 +00:00
commit fa335253d3
2 changed files with 28 additions and 1 deletions

View File

@ -99,6 +99,19 @@ test-3.11-core:
coverage_format: cobertura coverage_format: cobertura
path: coverage.xml path: coverage.xml
test-pvpy-core:
<<: *only-default
image: pypy:3.9-bullseye
script:
- tox -e pypy-all
artifacts:
when: always
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
allow_failure: true
test-3.8-all: test-3.8-all:
<<: *only-default <<: *only-default
image: python:3.8-bullseye image: python:3.8-bullseye
@ -148,6 +161,19 @@ test-3.11-all:
path: coverage.xml path: coverage.xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
test-pvpy-all:
<<: *only-default
image: pypy:3.9-bullseye
script:
- tox -e pypy-all
artifacts:
when: always
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
allow_failure: true
build-test: build-test:
stage: test stage: test
image: python:3.10-bullseye image: python:3.10-bullseye

View File

@ -2,7 +2,7 @@
isolated_build = True isolated_build = True
skipsdist = true skipsdist = true
usedevelop = true usedevelop = true
envlist = py{38,39,310,311}-{all,core}, docs envlist = py{38,39,310,311,py}-{all,core}, docs
[testenv] [testenv]
setenv = setenv =
@ -13,6 +13,7 @@ basepython =
py39: python3.9 py39: python3.9
py310: python3.10 py310: python3.10
py311: python3.11 py311: python3.11
pypy: pypy3
deps= deps=
coverage coverage
install_command = pip install -e ".[test]" -U {opts} {packages} install_command = pip install -e ".[test]" -U {opts} {packages}