Skip `yarn install` for python jobs

parent 6c1cb772
Pipeline #33883 passed with stages
in 3 minutes and 26 seconds
......@@ -33,6 +33,7 @@ build-image:
before_script:
- source activate zesje-dev
- ln -s /yarn/* ./
- if [[ $CI_JOB_NAME != *"py"* ]]; then yarn install; fi
build:
<<: *conda-env
......@@ -49,7 +50,6 @@ test_js:
<<: *conda-env
stage: test
script:
- yarn install
- yarn test:js
artifacts:
reports:
......@@ -60,7 +60,6 @@ lint_js:
stage: test
allow_failure: true
script:
- yarn install
- yarn lint:js
lint_py:
......
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