fix coverage path

This commit is contained in:
onyx-and-iris 2022-04-30 03:37:58 +01:00
parent e6ba5aefe9
commit 51833d68ff

View File

@ -3,7 +3,7 @@ Function RunTests {
$run_tests = "pytest -v --capture=tee-sys --junitxml=./tests/.coverage.xml"
$match_pattern = "^=|^\s*$|^Running|^Using|^plugins|^collecting|^tests"
if ( Test-Path "./$coverage" ) { Clear-Content $coverage }
if ( Test-Path $coverage ) { Clear-Content $coverage }
ForEach ($line in $(Invoke-Expression $run_tests)) {
If ( $line -Match $match_pattern ) {