Skip to content

Commit

Permalink
Skipping pypy for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Aug 22, 2024
1 parent 1ff4024 commit d8a2ce4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -- -xv --cov=django_celery_beat --cov-report=xml --no-cov-on-fail --cov-report term
else
tox -- -xv
fi
env:
DJANGO: ${{ matrix.django-version }}
- name: Upload coverage reports to Codecov
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d8a2ce4

Please sign in to comment.