Skip to content

Commit

Permalink
ci: test cache/persist
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 5, 2018
1 parent 7c74be7 commit ef2ae8a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,48 +20,48 @@ jobs:
key: v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- ~/.cache/yarn
- ~/.cache/Cypress
- ~/.cache
- persist_to_workspace:
root: ~/project
root: ~/
paths:
- vue
- project/vue
- .cache

group-1:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
at: ~/
- run: yarn test -p cli,cli-service,cli-shared-utils

group-2:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
at: ~/
- run: yarn test 'ts(?:\w(?!E2e))+\.spec\.js$'

group-3:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
at: ~/
- run: yarn lint
- run: yarn test -p cli-service-global,eslint,pwa,babel,babel-preset-app

group-4:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
at: ~/
- run: yarn test -p unit-mocha,unit-jest,e2e-nightwatch,e2e-cypress
- run: yarn test tsPluginE2e

cli-ui:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
at: ~/
- run: cd packages/@vue/cli-ui && yarn test
- store_artifacts:
path: packages/@vue/cli-ui/tests/e2e/videos
Expand Down

0 comments on commit ef2ae8a

Please sign in to comment.