diff options
author | Bert JW Regeer <bertjw@regeer.org> | 2022-02-06 21:37:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 21:37:11 -0700 |
commit | af6ac55a5d6002806a2786df81842267c6776f0c (patch) | |
tree | ae0ce5d3da23c27958978603cb95f810b625e784 | |
parent | 759f4d1ef70789ad490d1c4a900b914b6ce949ba (diff) | |
parent | 275d900d6f9b66e5c96ad33c673dcbbf86b19b41 (diff) | |
download | waitress-af6ac55a5d6002806a2786df81842267c6776f0c.tar.gz |
Merge pull request #365 from Pylons/fixup/special-case-pypy-in-ci
Special case PyPy in CI to avoid running with coverage
-rw-r--r-- | .github/workflows/ci-tests.yml | 12 | ||||
-rw-r--r-- | tox.ini | 4 |
2 files changed, 13 insertions, 3 deletions
diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 4bae72b..5a313c2 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -29,6 +29,9 @@ jobs: architecture: - x64 - x86 + include: + - py: "pypy-3.8" + toxenv: "pypy38" exclude: # Linux and macOS don't have x86 python - os: "ubuntu-latest" @@ -46,8 +49,15 @@ jobs: python-version: ${{ matrix.py }} architecture: ${{ matrix.architecture }} - run: pip install tox - - name: Running tox + - name: Running tox with specific toxenv + if: ${{ matrix.toxenv != '' }} + env: + TOXENV: ${{ matrix.toxenv }} + run: tox + - name: Running tox for current python version + if: ${{ matrix.toxenv == '' }} run: tox -e py + coverage: runs-on: ubuntu-latest name: Validate coverage @@ -1,7 +1,7 @@ [tox] envlist = lint, - py37,py38,py39,py310,pypy3, + py37,py38,py39,py310,pypy38, coverage, docs isolated_build = True @@ -10,7 +10,7 @@ isolated_build = True commands = python --version python -mpytest \ - pypy3: --no-cov \ + pypy38: --no-cov \ {posargs:} extras = testing |