[pitivi/wip/ci_perf] ci: Publish test reports
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/wip/ci_perf] ci: Publish test reports
- Date: Fri, 27 Jul 2018 02:55:43 +0000 (UTC)
commit 3786699d61344ab1fc3c0f406ad73361813d3e8d
Author: Thibault Saunier <tsaunier igalia com>
Date: Thu Jul 26 22:48:10 2018 -0400
ci: Publish test reports
.gitlab-ci.yml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96a97020..78f941fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
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) || echo "No history"
+ - ${HOME}/allure/bin/allure --clean --output=test-results/ history/ .
+
+
.build_emplate: &build_docker_image
image: docker:latest
services:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]