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 d1442c8 commit dfb491d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,16 @@ 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 -- --cov=django_celery_beat --cov-report=xml --no-cov-on-fail --cov-report term
else
tox
fi
env:
DJANGO: ${{ matrix.django-version }}
- name: Upload coverage reports to Codecov
if: ${{ matrix.python-version != 'pypy-3.10' }}
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
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 dfb491d

Please sign in to comment.