# The following is per https://gitlab.com/graphviz/graphviz/-/merge_requests/1345
$env:Path = $env:CI_PROJECT_DIR + "\" + $env:configuration + "\Graphviz\bin" + ";" + $env:Path;
dot -c;
- cd tests\regression_tests;
- ./regression_tests.ps1;
- cd ..\..;
+ python3 -m pytest --junitxml=report.xml tests\regression_tests\shapes tests\regression_tests\large
}
# Create artifacts to archive
- $ID = "windows"
+++ /dev/null
-Push-Location shapes
-python shapes.py
-Pop-Location
-
-# Larger graph testing
-# Python unittest prints to stderr, but Powershell interprets stderr
-# messages as an error, failing the pipeline. So we must redirect
-# stderr to stdout. The line noise at the end does so. See
-# https://stackoverflow.com/a/20950421/171898 for explanation.
-python -m pytest large 2>&1 | %{ "$_" }