[gnome-shell-extensions] ci: Use junit output format
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] ci: Use junit output format
- Date: Sat, 7 Nov 2020 01:02:39 +0000 (UTC)
commit ba55bacab42aa48c60412a32f9f1326585e80452
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Nov 7 01:52:42 2020 +0100
ci: Use junit output format
Gitlab has built-in support for junit reports, so switch eslint's
output to that format.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/136
.gitlab-ci.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e83c1ed..fcd0fbc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ stages:
- build
variables:
- LINT_LOG: "eslint-report.txt"
+ LINT_LOG: "eslint-report.xml"
JS_LOG: "js-report.txt"
.only_default: &only_default
@@ -36,12 +36,13 @@ js_check:
eslint:
stage: review
script:
- - eslint -o $LINT_LOG extensions --no-color || { cat $LINT_LOG; false; }
+ - eslint -o $LINT_LOG -f junit extensions
<<: *only_default
artifacts:
paths:
- ${LINT_LOG}
- when: on_failure
+ reports:
+ junit: ${LINT_LOG}
build-bundles:
stage: build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]