Skip to content

Commit

Permalink
[TEST][CONFIG] Add test context for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
wbenbihi committed Aug 26, 2022
1 parent ee38c63 commit 949d399
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ source = ['hourglass_tensorflow']
[tool.coverage.html]
title = "wbenbihi/hourglasstensorlfow coverage report"
directory = "reports/coverage"
show_contexts = true

[tool.coverage.xml]
output = "reports/coverage.xml"

[tool.pytest.ini_options]
addopts = "--junitxml=reports/junit.xml --cov=hourglass_tensorflow --cov-report=html --cov-report=xml"
addopts = "--junitxml=reports/junit.xml --cov=hourglass_tensorflow --cov-report=html --cov-report=xml --cov-context=test"
filterwarnings = ["ignore::DeprecationWarning"]

0 comments on commit 949d399

Please sign in to comment.