Skip to content

Commit aec9dc2

Browse files
authored
Merge pull request #174 from hugovk/toxless-pypy3
GHA: Temporarily toxlessly test PyPy
2 parents 2d4143e + eaaa1e2 commit aec9dc2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,21 @@ jobs:
5656
python -m pip install --upgrade tox
5757
5858
- name: Tox tests
59+
if: matrix.python-version != 'pypy3'
5960
shell: bash
6061
run: |
6162
tox -e py
6263
64+
# Temporarily test PyPy3 without tox:
65+
# https://foss.heptapod.net/pypy/pypy/-/issues/3331
66+
# https://github.com/tox-dev/tox/issues/1704
67+
- name: Non-tox tests (PyPy3)
68+
if: matrix.python-version == 'pypy3'
69+
shell: bash
70+
run: |
71+
python -m pip install ".[tests]"
72+
python -m pytest --cov humanize --cov tests --cov-report xml
73+
6374
- name: Upload coverage
6475
uses: codecov/codecov-action@v1
6576
with:

0 commit comments

Comments
 (0)