Skip to content
Snippets Groups Projects
Commit 90190d00 authored by Ilia Eriomenco's avatar Ilia Eriomenco
Browse files

ci: moved yarn test from test to template section

parent ba7d8900
No related branches found
No related tags found
No related merge requests found
......@@ -91,13 +91,15 @@ lint:
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
# use the example env for tests
- cp .env.example .env
# specify host here else it confuses the linked postgres image
- POSTGRES_HOST=postgres yarn test:all:chrome:$TEST_ITEM
test-chrome:
<<: *run_test_template
variables:
TEST_ITEM: elife
script:
- *run_script_template
# specify host here else it confuses the linked postgres image
- POSTGRES_HOST=postgres yarn test:all:chrome:elife
# .test_template: &run_test_template
# image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
......
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