mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +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:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- run:
|
- run:
|
||||||
command: npm run test.e2e --ci
|
command: npm run test.e2e -- --ci --no-build
|
||||||
working_directory: /tmp/workspace/core
|
working_directory: /tmp/workspace/core
|
||||||
|
|
||||||
test-core-spec:
|
test-core-spec:
|
||||||
@ -276,7 +276,7 @@ jobs:
|
|||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- run:
|
- run:
|
||||||
command: npm run test.spec --ci
|
command: npm run test.spec -- --ci
|
||||||
working_directory: /tmp/workspace/core
|
working_directory: /tmp/workspace/core
|
||||||
|
|
||||||
test-core-treeshake:
|
test-core-treeshake:
|
||||||
@ -286,7 +286,7 @@ jobs:
|
|||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- run:
|
- run:
|
||||||
command: npm run test.treeshake --ci
|
command: npm run test.treeshake -- --ci
|
||||||
working_directory: /tmp/workspace/core
|
working_directory: /tmp/workspace/core
|
||||||
|
|
||||||
test-core-screenshot:
|
test-core-screenshot:
|
||||||
@ -475,7 +475,7 @@ jobs:
|
|||||||
paths:
|
paths:
|
||||||
- packages/vue/test-app
|
- packages/vue/test-app
|
||||||
|
|
||||||
test-vue-spec:
|
test-vue-spec-and-e2e:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
@ -487,16 +487,6 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
command: npm run test:unit
|
command: npm run test:unit
|
||||||
working_directory: /tmp/workspace/packages/vue/test-app
|
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:
|
- run:
|
||||||
command: CYPRESS_CACHE_FOLDER=/tmp/workspace/packages/vue/test-app npm run test:e2e
|
command: CYPRESS_CACHE_FOLDER=/tmp/workspace/packages/vue/test-app npm run test:e2e
|
||||||
working_directory: /tmp/workspace/packages/vue/test-app
|
working_directory: /tmp/workspace/packages/vue/test-app
|
||||||
@ -565,9 +555,7 @@ workflows:
|
|||||||
requires: [build-vue-router]
|
requires: [build-vue-router]
|
||||||
- install-vue-test-app:
|
- install-vue-test-app:
|
||||||
requires: [build-core]
|
requires: [build-core]
|
||||||
- test-vue-spec:
|
- test-vue-spec-and-e2e:
|
||||||
requires: [install-vue-test-app, build-vue, build-vue-router]
|
|
||||||
- test-vue-e2e:
|
|
||||||
requires: [install-vue-test-app, build-vue, build-vue-router]
|
requires: [install-vue-test-app, build-vue, build-vue-router]
|
||||||
- test-angular-lint:
|
- test-angular-lint:
|
||||||
requires: [build-angular]
|
requires: [build-angular]
|
||||||
|
|||||||
Reference in New Issue
Block a user