[gnome-shell/wip/fmuellner/more-ci: 7/8] ci: Add test stage
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/more-ci: 7/8] ci: Add test stage
- Date: Wed, 13 Feb 2019 18:03:18 +0000 (UTC)
commit cdcc790f79fb063027e9345d4018720b1c191830
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Feb 12 22:39:47 2019 +0100
ci: Add test stage
We never gained a proper test suite, but run at least the tests we
have.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408
.gitlab-ci.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ea49f633..7ee92447f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
stages:
- source_check
- build
+ - test
variables:
JS_LOG: "js-report.txt"
@@ -41,3 +42,21 @@ build:
- meson . build -Dbuiltype=debugoptimized
- ninja -C build
- ninja -C build install
+ artifacts:
+ expire_in: 1 day
+ paths:
+ - mutter
+ - build
+
+test:
+ image: registry.gitlab.gnome.org/gnome/gnome-shell/master:v1
+ stage: test
+ before_script:
+ - ninja -C mutter/build install
+ script:
+ - xvfb-run meson test -C build --no-rebuild
+ artifacts:
+ expire_in: 1 day
+ paths:
+ - build/meson-logs/testlog.txt
+ when: on_failure
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]