Skip to content
Snippets Groups Projects
Commit cdd2e461 authored by Sam Kagan's avatar Sam Kagan
Browse files

Added test reports to package-build CI jobs

parent 78d20f2b
No related branches found
No related tags found
2 merge requests!1706merge 2.8.4 to main,!1649Show unit test reports in Gitlab
......@@ -21,7 +21,7 @@
# Install the packages for testing
- poetry install --with test
- $(poetry env info -p)/bin/pytest .
- $(poetry env info -p)/bin/pytest --junitxml=tests.xml .
# once tests pass, look to see if there is a conflicting version in pypi registry
- PACKAGE_NAME=$(basename $PWD)
......@@ -47,6 +47,12 @@
# Return to the parent directory
- cd $WD
artifacts:
paths:
- tests.xml
reports:
junit:
- tests.xml
rules:
- changes:
- ${PACKAGE_PATH}/**/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment