Skip to content

Commit

Permalink
test(conf): adjust pytest automatic configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
codejedi365 committed May 5, 2024
1 parent 03f6a53 commit 9c481d6
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,21 @@ env = [
"PYTHONHASHSEED = 123456"
]
addopts = [
# TO DEBUG in single process, swap auto to 0
"-nauto",
# "-n0",
"-ra",
"--diff-symbols",
"--cache-clear",
"--cov=semantic_release",
"--cov-context=test",
"--cov-report",
"html:coverage-html",
"--cov-report",
"term",
# No default coverage - causes problems with debuggers
# "--cov=semantic_release",
# "--cov-context=test",
# "--cov-report=html:coverage-html",
# "--cov-report=term-missing",
]
testpaths = [
"tests"
]
python_files = ["tests/test_*.py", "tests/**/test_*.py"]

[tool.coverage.html]
show_contexts = true
Expand Down

0 comments on commit 9c481d6

Please sign in to comment.