From 036f2736d0c1c3901eb6534ca6909aefeabfbd22 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 22 Oct 2020 17:02:57 -0700 Subject: [PATCH] run pytest with --verbose in CI 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40c9d5056..b8c7b6267 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- 2.40.0