summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-09-26 14:41:09 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-09-26 14:41:09 -0500
commitda6e210a5f280e7b7fdc88420a8a52e66235e792 (patch)
tree3f96a68d156bd1e54297c4bd18cbdc6ad6cfe8ba
parentc73b1dcb7661ad28ef56e54d901860681bf4f035 (diff)
downloadlibrsvg-da6e210a5f280e7b7fdc88420a8a52e66235e792.tar.gz
CI: Keep test artifacts for failed cargo-test jobs
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/754>
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6433eedc..67bbe70d 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'