diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36883aae..39bdc2af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,7 +45,12 @@ jobs: python -m pip install --upgrade pip python -m pip install tox tox-gh-actions - name: Test with tox - run: tox + run: | + if [ "${{ matrix.python-version }}" != "pypy-3.10" ]; then + tox -- pytest -xv --cov=django_celery_beat --cov-report=xml --no-cov-on-fail --cov-report term + else + tox -- pytest -xv + fi env: DJANGO: ${{ matrix.django-version }} - name: Upload coverage reports to Codecov diff --git a/tox.ini b/tox.ini index 751809da..75b5ef6f 100644 --- a/tox.ini +++ b/tox.ini @@ -51,7 +51,7 @@ sitepackages = False recreate = False commands = pip list - pytest -xv --cov=django_celery_beat --cov-report=xml --no-cov-on-fail --cov-report term {posargs} + pytest -xv {posargs} [testenv:apicheck]