File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,10 @@ pytest:
3434 - ' 3.10'
3535 - ' 3.11'
3636 - ' 3.12'
37+ coverage : /^TOTAL.+?(\d+\%)$/
38+ artifacts :
39+ reports :
40+ coverage_report :
41+ coverage_format : cobertura
42+ path : coverage.xml
43+ junit : junit.xml
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ show_missing = true
2121source = [" example" ]
2222
2323[tool .pytest .ini_options ]
24- addopts = " --color=yes --doctest-modules --verbose"
24+ addopts = " --color=yes --doctest-modules --junitxml=junit.xml -- verbose"
2525
2626[tool .ruff ]
2727extend-exclude = []
Original file line number Diff line number Diff line change 88 pytest
99commands =
1010 coverage run -m pytest {posargs}
11+ coverage xml
1112 coverage report
1213
1314[testenv:format]
You can’t perform that action at this time.
0 commit comments