[librsvg: 9/14] CI: Keep test artifacts for failed cargo-test jobs
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 9/14] CI: Keep test artifacts for failed cargo-test jobs
- Date: Tue, 27 Sep 2022 16:21:08 +0000 (UTC)
commit da6e210a5f280e7b7fdc88420a8a52e66235e792
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Sep 26 14:41:09 2022 -0500
CI: Keep test artifacts for failed cargo-test jobs
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/754>
.gitlab-ci.yml | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6433eedc1..67bbe70dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,6 +84,13 @@ test_rust_gdk_pixbuf_loader:
stage: build
script:
- cargo test
+ artifacts:
+ when: 'on_failure'
+ paths:
+ - _build/tests/output
+ expire_in: 1 day
+ variables:
+ OUT_DIR: "${CI_PROJECT_DIR}/tests/output"
.build-rsvg-no-docs:
extends: '.cache'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]