Skip to content

Commit

Permalink
fix: coverage calculation in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dancergraham committed Jan 18, 2025
1 parent b6fa870 commit 21a5e2d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,10 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run coverage
run: |
coverage run --source=waffle ./run.sh test
coverage report
coverage xml
coverage run --source=waffle django-admin test waffle
coverage report -m
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
name: codecov-umbrella

release-production:
# Only upload if a tag is pushed (otherwise just build & check)
Expand Down

0 comments on commit 21a5e2d

Please sign in to comment.