Commit 5286aade authored by Maksym Bykovskyy's avatar Maksym Bykovskyy

Split unit tests from e2e tests

parent ab2eca41
Pipeline #113441144 passed with stages
in 16 minutes and 23 seconds
......@@ -8,8 +8,9 @@ variables:
DATA_DIR: "/tmp"
stages:
- unit-test
- build
- test
- e2e-test
- deploy-staging
- deploy-prod
......@@ -29,16 +30,16 @@ build-docker-image:
- docker push "${CONTAINER_NAME}:${CI_COMMIT_REF_NAME}"
- docker push "${CONTAINER_NAME}:latest"
run-e2e-tests:
stage: test
run-webide-e2e-tests:
stage: e2e-test
image: tmaier/docker-compose
script:
- cd packages/e2e
- export WEBIDE_IMAGE="${CONTAINER_NAME}:${CI_COMMIT_REF_NAME}"
- docker-compose run e2e
run-unit-tests:
stage: test
run-webide-unit-tests:
stage: unit-test
image: node:12-alpine
script:
- cd packages/server
......
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