Skip to content

Commit

Permalink
add coverage report (#3315)
Browse files Browse the repository at this point in the history
Signed-off-by: Nok <[email protected]>
  • Loading branch information
noklam authored Nov 17, 2023
1 parent ea5c6ff commit e13340c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ test-no-spark-sequential:
test-no-datasets:
pytest --no-cov --ignore tests/extras/datasets/ --numprocesses 4 --dist loadfile

show-coverage:
coverage html --show-contexts || true
open htmlcov/index.html

e2e-tests:
behave --tags=-skip

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ exclude_lines = ["pragma: no cover", "raise NotImplementedError"]

[tool.pytest.ini_options]
addopts="""
--cov-context test \
--cov-config pyproject.toml \
--cov-report xml:coverage.xml \
--cov-report term-missing \
Expand Down

0 comments on commit e13340c

Please sign in to comment.