Skip to content
Snippets Groups Projects
Commit 2410bdc1 authored by Beatrice-Emanuela Suarasan's avatar Beatrice-Emanuela Suarasan
Browse files

refactor(elife gitlab yml): run DRY pipelines for script on test-chrome

parent cfef86cd
No related branches found
No related tags found
No related merge requests found
......@@ -84,8 +84,7 @@ lint:
services:
- postgres
test-chrome:
<<: *run_test_template
.script_template: &run_script_template
script:
- cd ${HOME}
- apt-get -y install postgresql-client
......@@ -93,6 +92,11 @@ test-chrome:
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
# use the example env for tests
- cp .env.example .env
test-chrome:
<<: *run_test_template
script:
<<: *run_script_template
# specify host here else it confuses the linked postgres image
- POSTGRES_HOST=postgres yarn test:all:chrome:elife
......
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