Skip to content

Commit 9b9b4ba

Browse files
committed
Parallelize tests into multiple buildspecs
1 parent 22f79b0 commit 9b9b4ba

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

buildspecs/build-test-suite-1.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 0.2
2+
3+
phases:
4+
install:
5+
commands:
6+
- npm install
7+
build:
8+
commands:
9+
- npm test -- --grep 'Calculator Tests'
10+
artifacts:
11+
files:
12+
- '**/*'

buildspecs/build-test-suite-2.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 0.2
2+
3+
phases:
4+
install:
5+
commands:
6+
- npm install
7+
build:
8+
commands:
9+
- npm test -- --grep 'Calculator Tests' --invert
10+
artifacts:
11+
files:
12+
- '**/*'

0 commit comments

Comments
 (0)