1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Revert "Use common test build during CI (#7196)" (#7404)

This reverts commit b0ec610908, which was
introduced in #7196. This change was preventing the sourcemaps from
being uploaded correctly.
This commit is contained in:
Mark Stacey 2019-11-13 11:02:59 -04:00 committed by GitHub
parent 9df268cdf1
commit 4b4c00e94f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,9 +14,6 @@ workflows:
- prep-build: - prep-build:
requires: requires:
- prep-deps - prep-deps
- prep-build-test:
requires:
- prep-deps
# - prep-docs: # - prep-docs:
# requires: # requires:
# - prep-deps # - prep-deps
@ -28,10 +25,10 @@ workflows:
- prep-deps - prep-deps
- test-e2e-chrome: - test-e2e-chrome:
requires: requires:
- prep-build-test - prep-deps
- test-e2e-firefox: - test-e2e-firefox:
requires: requires:
- prep-build-test - prep-deps
- test-unit: - test-unit:
requires: requires:
- prep-deps - prep-deps
@ -129,24 +126,6 @@ jobs:
- dist - dist
- builds - builds
prep-build-test:
docker:
- image: circleci/node:10.16-browsers
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Build extension for testing
command: yarn build:test
- run:
name: Move test build to 'dist-test' to avoid conflict with production build
command: mv ./dist ./dist-test
- persist_to_workspace:
root: .
paths:
- dist-test
prep-docs: prep-docs:
docker: docker:
- image: circleci/node:10.16-browsers - image: circleci/node:10.16-browsers
@ -213,12 +192,9 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: . at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run: - run:
name: test:e2e:chrome name: test:e2e:chrome
command: yarn test:e2e:chrome command: yarn build:test && yarn test:e2e:chrome
no_output_timeout: 20m no_output_timeout: 20m
- store_artifacts: - store_artifacts:
path: test-artifacts path: test-artifacts
@ -234,12 +210,9 @@ jobs:
command: ./.circleci/scripts/firefox-install command: ./.circleci/scripts/firefox-install
- attach_workspace: - attach_workspace:
at: . at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run: - run:
name: test:e2e:firefox name: test:e2e:firefox
command: yarn test:e2e:firefox command: yarn build:test && yarn test:e2e:firefox
no_output_timeout: 20m no_output_timeout: 20m
- store_artifacts: - store_artifacts:
path: test-artifacts path: test-artifacts