From 4693af7924ba676ebccafb1e86ee93a20e5ffb63 Mon Sep 17 00:00:00 2001 From: David Bittner Date: Fri, 26 Apr 2019 15:16:38 -0400 Subject: [PATCH] adding cache to test stage so it doesn't have to compile --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4c9d4c..64e0126 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ build: - cargo build --release cache: - key: cache-key + key: ansi-parse paths: - target - cargo_dir @@ -26,3 +26,9 @@ test: script: - rustc --version && cargo --version # Print version info for debugging - cargo test --all --verbose + + cache: + key: ansi-parse + paths: + - target + - cargo_dir