diff --git a/ci/package-build.template.yml b/ci/package-build.template.yml index 2487db1c3e793ac5c4872a171d306ec00849afff..0aef0053937d545ed4639bbe3a749be2c71766e6 100644 --- a/ci/package-build.template.yml +++ b/ci/package-build.template.yml @@ -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}/**/*