Gitlab: Rework sjg-lab calling test.py to be closer to test.py stage
authorTom Rini <trini@konsulko.com>
Tue, 6 May 2025 14:04:12 +0000 (08:04 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 May 2025 16:19:02 +0000 (10:19 -0600)
commitc7f360f20d848f9e2b607885a280084290732566
tree7d9994bf67ac6554c30c0d3d74d90877f16668cd
parent2ab0f0d0581090153d6861880204481eb91b0fd3
Gitlab: Rework sjg-lab calling test.py to be closer to test.py stage

There are a few differences between how the test.py stage invokes
test.py and how the sjg-lab stage invokes test.py. As a start of making
both the code and the output and artifacts similar, this updates the
sjg-lab stage with the following:
- Pass "-ra" so that we get the summary information in the job
- Make use of TEST_PY_EXTRA for passing "--capture=tee-sys"
- Re-order some of the arguments to be the same order when possible.

And most importantly:
- Create and save as an artifact the junitxml output.

The last part here is the kind of test result information that in the
future we should determine how to archive for future reference.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
.gitlab-ci.yml