Skip to content

Commit 9bf9013

Browse files
ci(): split e2e tests into several jobs
1 parent f43d364 commit 9bf9013

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.circleci/config.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,14 @@ jobs:
4444
- *restore-cache
4545
- *install-deps
4646
- run:
47-
name: E2E tests
48-
command: yarn test:e2e
47+
name: E2E tests (graphql)
48+
command: yarn test:e2e:graphql
49+
- run:
50+
name: E2E tests (apollo)
51+
command: yarn test:e2e:apollo
52+
- run:
53+
name: E2E tests (mercurius)
54+
command: yarn test:e2e:mercurius
4955

5056
workflows:
5157
version: 2

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"publish:next": "lerna publish --dist-tag next",
2121
"test:e2e": "lerna run test:e2e --parallel",
2222
"test:e2e:dev": "lerna run test:e2e:dev --parallel",
23+
"test:e2e:apollo": "lerna run test:e2e --scope @nestjs/apollo --stream",
24+
"test:e2e:graphql": "lerna run test:e2e --scope @nestjs/graphql --stream",
25+
"test:e2e:mercurius": "lerna run test:e2e --scope @nestjs/mercurius --stream",
2326
"prepare": "husky install"
2427
},
2528
"resolutions": {

0 commit comments

Comments
 (0)