Skip to content

Commit

Permalink
Add coverage analysis for tests of the python package
Browse files Browse the repository at this point in the history
  • Loading branch information
ps2181 committed Nov 27, 2024
1 parent 204a56a commit 0e68952
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ venv/
dist/*
*.pickle
.s.yml
.DS_Store
.DS_Store
2 changes: 1 addition & 1 deletion python/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ omit =
*/__init__.py
[coverage:report]
# Setting the report format
show_missing = True # Show missing lines in the report
show_missing= True # Show missing lines in the report
skip_covered = True # Skip files that are fully covered

pytest --cov=python tests/ --cov-report html
2 changes: 1 addition & 1 deletion python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ commands =
python -m coverage combine
python -m coverage report -m
python -m coverage html # Generate HTML report
python -m coverage json # Generate JSON report
python -m coverage json # Generate JSON

0 comments on commit 0e68952

Please sign in to comment.