Save Gitlab runner cache, even on a failed test
authorCesar Strauss <cestrauss@gmail.com>
Mon, 13 Sep 2021 09:22:43 +0000 (06:22 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Mon, 13 Sep 2021 09:22:43 +0000 (06:22 -0300)
Since our tests currently fail, the cache was never saved, not even once.

.gitlab-ci.yml

index f453e172739dcdee534ed7bd84cec1064417cba3..b05480756dbc1aaa503f2721b07e287643f03680 100644 (file)
@@ -5,6 +5,7 @@ cache:
         - ccache
         - .cache/pip
         - apt-cache
+    when: 'always'
 
 variables:
     PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"