Add pypy testing

This commit is contained in:
Ariel Rin 2023-01-25 05:00:16 +00:00
parent 47fec23f2e
commit d1af9416b3
2 changed files with 28 additions and 1 deletions

View File

@ -100,6 +100,19 @@ test-3.11-core:
path: coverage.xml path: coverage.xml
allow_failure: true allow_failure: true
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
@ -149,6 +162,19 @@ test-3.11-all:
path: coverage.xml path: coverage.xml
allow_failure: true allow_failure: true
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 =
@ -14,6 +14,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}