|
|
@ -19,6 +19,10 @@ workflows: |
|
|
|
requires: |
|
|
|
requires: |
|
|
|
- prep-build |
|
|
|
- prep-build |
|
|
|
- prep-deps-npm |
|
|
|
- prep-deps-npm |
|
|
|
|
|
|
|
- test-screens: |
|
|
|
|
|
|
|
requires: |
|
|
|
|
|
|
|
- prep-build |
|
|
|
|
|
|
|
- prep-deps-npm |
|
|
|
- test-unit: |
|
|
|
- test-unit: |
|
|
|
requires: |
|
|
|
requires: |
|
|
|
- prep-deps-npm |
|
|
|
- prep-deps-npm |
|
|
@ -45,6 +49,7 @@ workflows: |
|
|
|
- test-lint |
|
|
|
- test-lint |
|
|
|
- test-unit |
|
|
|
- test-unit |
|
|
|
- test-e2e |
|
|
|
- test-e2e |
|
|
|
|
|
|
|
- test-screens |
|
|
|
- test-integration-mascara-chrome |
|
|
|
- test-integration-mascara-chrome |
|
|
|
- test-integration-mascara-firefox |
|
|
|
- test-integration-mascara-firefox |
|
|
|
- test-integration-flat-chrome |
|
|
|
- test-integration-flat-chrome |
|
|
@ -145,6 +150,22 @@ jobs: |
|
|
|
path: test-artifacts |
|
|
|
path: test-artifacts |
|
|
|
destination: test-artifacts |
|
|
|
destination: test-artifacts |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test-screens: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
- image: circleci/node:8-browsers |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Test |
|
|
|
|
|
|
|
command: npm run test:screens |
|
|
|
|
|
|
|
- store_artifacts: |
|
|
|
|
|
|
|
path: test-artifacts |
|
|
|
|
|
|
|
destination: test-artifacts |
|
|
|
|
|
|
|
|
|
|
|
test-unit: |
|
|
|
test-unit: |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: circleci/node:8-browsers |
|
|
|
- image: circleci/node:8-browsers |
|
|
|