Skip to content

Commit 6813db9

Browse files
fix: expand coverage to full malariagen_data package and update codecov action
- Changed --cov target from malariagen_data/anoph to malariagen_data so coverage measurement includes all root-level modules (ag3.py, af1.py, plasmodium.py, veff.py, util.py, etc.) that were previously excluded - Updated codecov/codecov-action from v3 to v4 for security fixes Closes #1301
1 parent cc94c93 commit 6813db9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
python-version: "3.12"
2222

2323
- name: Run unit tests with coverage
24-
run: poetry run pytest -v tests --ignore tests/integration --cov malariagen_data/anoph --cov-report=xml
24+
run: poetry run pytest -v tests --ignore tests/integration --cov malariagen_data --cov-report=xml
2525

2626
- name: Upload coverage report
27-
uses: codecov/codecov-action@v3
27+
uses: codecov/codecov-action@v4
2828
with:
2929
files: ./coverage.xml
3030
verbose: true

0 commit comments

Comments
 (0)