Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 35 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,108 +179,120 @@ jobs:
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/lib-js-validate/
working_directory: ~/repo/packages/tests/

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: npm run test:e2e
- run: npm run test:e2e:validate

test_e2e_core:
name: E2E Tests
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/lib-js-core/
working_directory: ~/repo/packages/tests/

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: npm run test:e2e
- run: npm run test:e2e:core

test_e2e_registry:
name: E2E Tests
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/cli
working_directory: ~/repo/packages/tests

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: SYNCANO_SOCKET_REGISTRY_INSTANCE=${REGISTRY_TEST_SYNCANO_PROJECT_INSTANCE}-${CIRCLE_SHA1} npm run test:e2e:registry
- run: SYNCANO_SOCKET_REGISTRY_INSTANCE=${REGISTRY_TEST_SYNCANO_PROJECT_INSTANCE}-${CIRCLE_SHA1} npm run test:e2e:cli:registry

test_e2e_hosting:
name: E2E Tests
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/cli
working_directory: ~/repo/packages/tests

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: npm run test:e2e:hosting
- run: npm run test:e2e:cli:hosting

# test_e2e_init:
# name: E2E Tests
# docker:
# - image: circleci/node:latest
#
# working_directory: ~/repo/packages/tests
#
# steps:
# - restore_cache:
# key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
# - run: npm run test:e2e:cli:init

test_e2e_socket:
name: E2E Tests
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/cli
working_directory: ~/repo/packages/tests

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: npm run test:e2e:socket
- run: npm run test:e2e:cli:socket

test_e2e_anonymous:
name: E2E Tests
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/cli
working_directory: ~/repo/packages/tests

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: npm run test:e2e:anonymous
- run: npm run test:e2e:cli:anonymous

test_e2e_instance:
name: E2E Tests
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/cli
working_directory: ~/repo/packages/tests

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: npm run test:e2e:instance
- run: npm run test:e2e:cli:instance

test_e2e_deploy:
name: E2E Tests
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/cli
working_directory: ~/repo/packages/tests

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: npm run test:e2e:deploy
- run: npm run test:e2e:cli:deploy

test_e2e_config:
name: E2E Tests
docker:
- image: circleci/node:latest

working_directory: ~/repo/packages/cli
working_directory: ~/repo/packages/tests

steps:
- restore_cache:
key: v5-repo-{{ .Environment.CIRCLE_SHA1 }}
- run: npm run test:e2e:config
- run: npm run test:e2e:cli:config

test_lint:
name: Linter
Expand Down Expand Up @@ -428,6 +440,9 @@ workflows:
- test_e2e_socket:
requires:
- build
# - test_e2e_init:
# requires:
# - build
- test_e2e_registry:
requires:
- build
Expand Down Expand Up @@ -466,6 +481,7 @@ workflows:
- test_e2e_registry
- test_e2e_socket
- test_e2e_hosting
# - test_e2e_init
- test_e2e_core
- test_e2e_anonymous
- test_e2e_config
Expand All @@ -489,6 +505,7 @@ workflows:
- test_e2e_registry
- test_e2e_socket
- test_e2e_hosting
# - test_e2e_init
- test_e2e_core
- test_e2e_anonymous
- test_e2e_config
Expand Down
Loading