Commit da136c00 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

An attempt to preserve yarn cache between gitlab-ci job executions

parent 7e4529ed
Pipeline #10738 passed with stage
in 59 seconds
# This base image builds upon python3, with pre-installed Python requirements and _node js_.
image: jlebiodaunilu/elixirlu-basebeacon-python:v0.2.2
cache:
untracked: true
key: "$CI_PROJECT_ID"
paths:
- .yarn
before_script:
- cd code
- pip install -r backend/requirements.txt --default-timeout=180
......@@ -12,7 +18,7 @@ test:
- cd .. && pwd
- cp configuration/templates/*.yaml configuration/
- cp configuration/templates/*.json configuration/
- cd code/frontend/ && pwd && yarn install && node node_modules/gulp/bin/gulp.js
- cd code/frontend/ && pwd && yarn install --pure-lockfile --cache-folder ../../.yarn && node node_modules/gulp/bin/gulp.js
- cd ../backend && pwd
- coverage run setup.py test
- coverage report -m
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment