summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2021-01-19 19:30:06 +0100
committerAllan McRae <allan@archlinux.org>2021-01-21 08:18:24 +0100
commit1fdf8c00764af9e32f8dec13061f625f48bd4c8c (patch)
tree12296a9936cfd870778e3ed55de942ab613aab5a /.gitlab-ci.yml
parentf9bc6c2b09c18dd48f839f53d834c6fd1bfd2dd3 (diff)
downloadpacman-1fdf8c00764af9e32f8dec13061f625f48bd4c8c.tar.gz
pacman-1fdf8c00764af9e32f8dec13061f625f48bd4c8c.tar.xz
gitlab-ci: print output and logs for failed tests
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e889c498..6ca35941 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ variables:
MAKEFLAGS: "-j10"
VERBOSE: 1
PACMAN_OPTS: --needed --noconfirm --cachedir .pkg-cache
+ PACTEST_OPTS: --review --editor=../build-aux/cat-test-file
cache:
key: pkgs-v1
@@ -9,6 +10,10 @@ cache:
# For some reason Gitlab CI only supports storing cache/artifacts in a path relative to the build directory
- .pkg-cache
+default:
+ after_script:
+ - build-aux/print-failed-test-output build/meson-logs/testlog.json
+
.arch-test:
image: archlinux/base
before_script: