Commit 156b072a authored by Thibault Saunier's avatar Thibault Saunier

ci: Publish test reports

parent 346a9971
Pipeline #21864 passed with stages
in 11 minutes and 12 seconds
stages:
- docker_image
- build
- test
- test-results
build:
......@@ -28,6 +28,19 @@ build:
- ${RUN_IN_SANDBOX} ninja -C mesonbuild/
- xvfb-run -n 32 -s "-screen 0 640x480x24" ${RUN_IN_SANDBOX} gst-validate-launcher $PWD/tests/ptv_testsuite.py --dump-on-failure --timeout-factor 4 --xunit-file ${XUNIT_PATH}
test-results:
image: registry.gitlab.gnome.org/gnome/pitivi:master
stage: test-results
artifacts:
paths:
- test-results
dependencies:
- build
script:
- (wget https://gitlab.gnome.org/GNOME/${CI_PROJECT_NAME}/-/jobs/artifacts/${CI_COMMIT_REF_NAME}/download?job=test-results -O history.zip && unzip history.zip && mv test-results history && ls history/) || echo "No history"
- /opt/allure/bin/allure generate --clean --output test-results/ history/ .
- printf "=========================\n\n TEST RESULTS WILL BE AVAILABLE AT https://gnome.pages.gitlab.gnome.org/-/${CI_PROJECT_NAME}/-/jobs/${CI_JOB_ID}/artifacts/test-results/index.html\n\n==================="
.build_emplate: &build_docker_image
image: docker:latest
services:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment