diff --git a/jobs/templates/swh-cypress.groovy b/jobs/templates/swh-cypress.groovy --- a/jobs/templates/swh-cypress.groovy +++ b/jobs/templates/swh-cypress.groovy @@ -4,6 +4,7 @@ environment {{ PHAB_CONDUIT_URL = 'https://forge.softwareheritage.org/api/' + CYPRESS_CACHE_FOLDER = '/tmp/cypress_cache' }} stages {{ diff --git a/jobs/templates/swh-cypress.yaml b/jobs/templates/swh-cypress.yaml --- a/jobs/templates/swh-cypress.yaml +++ b/jobs/templates/swh-cypress.yaml @@ -62,6 +62,7 @@ #!/bin/bash set -e python3 -m pip install --user -e .[testing] + export CYPRESS_CACHE_FOLDER=/tmp/cypress_cache/ yarn install && yarn build-test && yarn run cypress install export PYTHONPATH=$PWD python3 swh/web/manage.py migrate --settings=swh.web.settings.tests