Skip to content

Commit

Permalink
Fix codecov workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joweich committed Nov 1, 2024
1 parent e145f62 commit 8ddaa33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
pip install pytest
pip install pytest-cov
pytest --cov=chatminer --cov-config=setup.cfg --cov-report=xml test/
pytest --cov=chatminer --cov-report=xml test/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,11 @@ include = ["/chatminer"]
[tool.hatch.build.targets.wheel]
packages = ["/chatminer"]

[tool.coverage.run]
source = ["chatminer"]
omit = [
"chatminer/cli.py",
"chatminer/nlp.py",
"chatminer/visualizations.py",
"chatminer/__init__.py",
]

0 comments on commit 8ddaa33

Please sign in to comment.