Skip to content

Commit

Permalink
Update runTestsuite.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd committed Oct 8, 2023
1 parent 1077bd9 commit 0a1c669
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/runTestsuite.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ function run {
# --traverse-namespace is required for python 3.8 https://stackoverflow.com/q/58556183
$pyver = $env:PYTHON_VERSION
if ($pyver -lt '3.9') {
Write-Host "run nosetests"
nosetests --nologcapture --traverse-namespace --exclude=testall --with-xunit --with-coverage --cover-html --cover-html-dir=Coverage_report --cover-package=pywinauto --verbosity=3 pywinauto\unittests
} else {
Write-Host "run nose2"
nose2 --nologcapture --exclude=testall --with-xunit --with-coverage --cover-html --cover-html-dir=Coverage_report --cover-package=pywinauto --verbosity=3 pywinauto\unittests
}
$success = $?
Expand Down

0 comments on commit 0a1c669

Please sign in to comment.