mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
chore(): do not rebuild core when doing e2e tests, run vue spec and e2e tests together (#23320)
This commit is contained in:
@ -266,7 +266,7 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: /tmp/workspace
|
||||
- run:
|
||||
command: npm run test.e2e --ci
|
||||
command: npm run test.e2e -- --ci --no-build
|
||||
working_directory: /tmp/workspace/core
|
||||
|
||||
test-core-spec:
|
||||
@ -276,7 +276,7 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: /tmp/workspace
|
||||
- run:
|
||||
command: npm run test.spec --ci
|
||||
command: npm run test.spec -- --ci
|
||||
working_directory: /tmp/workspace/core
|
||||
|
||||
test-core-treeshake:
|
||||
@ -286,7 +286,7 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: /tmp/workspace
|
||||
- run:
|
||||
command: npm run test.treeshake --ci
|
||||
command: npm run test.treeshake -- --ci
|
||||
working_directory: /tmp/workspace/core
|
||||
|
||||
test-core-screenshot:
|
||||
@ -475,7 +475,7 @@ jobs:
|
||||
paths:
|
||||
- packages/vue/test-app
|
||||
|
||||
test-vue-spec:
|
||||
test-vue-spec-and-e2e:
|
||||
<<: *defaults
|
||||
steps:
|
||||
- checkout
|
||||
@ -487,16 +487,6 @@ jobs:
|
||||
- run:
|
||||
command: npm run test:unit
|
||||
working_directory: /tmp/workspace/packages/vue/test-app
|
||||
|
||||
test-vue-e2e:
|
||||
<<: *defaults
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: /tmp/workspace
|
||||
- run:
|
||||
command: npm run sync
|
||||
working_directory: /tmp/workspace/packages/vue/test-app
|
||||
- run:
|
||||
command: CYPRESS_CACHE_FOLDER=/tmp/workspace/packages/vue/test-app npm run test:e2e
|
||||
working_directory: /tmp/workspace/packages/vue/test-app
|
||||
@ -565,9 +555,7 @@ workflows:
|
||||
requires: [build-vue-router]
|
||||
- install-vue-test-app:
|
||||
requires: [build-core]
|
||||
- test-vue-spec:
|
||||
requires: [install-vue-test-app, build-vue, build-vue-router]
|
||||
- test-vue-e2e:
|
||||
- test-vue-spec-and-e2e:
|
||||
requires: [install-vue-test-app, build-vue, build-vue-router]
|
||||
- test-angular-lint:
|
||||
requires: [build-angular]
|
||||
|
Reference in New Issue
Block a user