Due to how pytest is used, we don't get the actual errors printed in the
commandline log if this job fails. This doesn't matter in merge requests where
the results are displayed nicely but where there's no merge request we can't
get this info out at all. So let's simply store the xml file for an easy
check.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
variables:
GIT_DEPTH: 100
artifacts:
+ when: on_failure
+ paths:
+ - results.xml
reports:
junit: results.xml
variables:
GIT_DEPTH: 100
artifacts:
+ when: on_failure
+ paths:
+ - results.xml
reports:
junit: results.xml