]> granicus.if.org Git - graphviz/commitdiff
run pytest with --verbose in CI
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 23 Oct 2020 00:02:57 +0000 (17:02 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 29 Oct 2020 00:53:10 +0000 (17:53 -0700)
This makes it a little easier to see from the logs which tests were skipped and
to validate that the tests you think are being found are actually running.

.gitlab-ci.yml

index 40c9d5056fdc0798e06dc782d6cabc5d82d9532f..b8c7b62672fd9b7d4b7808c8fb001301cc90af12 100644 (file)
@@ -158,7 +158,7 @@ portable-source:
               # The following is per https://gitlab.com/graphviz/graphviz/-/merge_requests/1345
               $env:Path = $env:CI_PROJECT_DIR + "\" + $env:configuration + "\Graphviz\bin" + ";" + $env:Path;
             }
-        - python3 -m pytest --junitxml=report.xml ci/tests.py tests rtest
+        - python3 -m pytest --verbose --junitxml=report.xml ci/tests.py tests rtest
         # Create artifacts to archive
         - $ID = "windows"
         - $VERSION_ID = "10"
@@ -189,7 +189,7 @@ portable-source:
         - ci/install-packages.sh
         - export GV_VERSION=$( cat VERSION )
         - export OS_ID=$( cat OS_ID )
-        - python3 -m pytest --junitxml=report.xml ci/tests.py tests rtest
+        - python3 -m pytest --verbose --junitxml=report.xml ci/tests.py tests rtest
     artifacts:
         reports:
             junit: ./report.xml