From d1af9416b3f20e5113cfdb605360b9e3c26b8975 Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Wed, 25 Jan 2023 05:00:16 +0000 Subject: [PATCH] Add pypy testing --- .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 def3febd..e06e2792 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,6 +100,19 @@ test-3.11-core: path: coverage.xml 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: <<: *only-default image: python:3.8-bullseye @@ -149,6 +162,19 @@ test-3.11-all: path: coverage.xml 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: stage: test image: python:3.10-bullseye diff --git a/tox.ini b/tox.ini index 4ec3e9e1..47962fda 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ isolated_build = True skipsdist = true usedevelop = true -envlist = py{38,39,310,311}-{all,core}, docs +envlist = py{38,39,310,311,py}-{all,core}, docs [testenv] setenv = @@ -14,6 +14,7 @@ basepython = py39: python3.9 py310: python3.10 py311: python3.11 + pypy: pypy3 deps= coverage install_command = pip install -e ".[test]" -U {opts} {packages}