Commit e43fc712 authored by Peter Leitzen's avatar Peter Leitzen

Speed up backend tests in Gitpod environment

By setting the environment variable `GITLAB_TEST_EAGER_LOAD=false`
disable Rails' eager loading of class in the `test` environment
which improves the load time of specs.
parent 3886d2ac
......@@ -66,6 +66,8 @@ tasks:
sleep 5
printf "$(date) – GitLab is up (took ~%.1f minutes)\n" "$((10*$SECONDS/60))e-1" | tee -a /workspace/startup.log
gp preview $(gp url 3000) || true
# Speed up backend tests
export GITLAB_TEST_EAGER_LOAD=false
)
ports:
......
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