root: parallelize e2e tests to 5

This commit is contained in:
Brian Mann
2017-08-23 19:28:06 -04:00
parent 2f6ddb41fa
commit 0957fe48eb
+27 -3
View File
@@ -228,7 +228,7 @@ jobs:
steps:
- restore_cache:
key: cypress-monorepo-{{ .Branch }}-{{ .Revision }}
- run: cd packages/server && npm run test-e2e -- --parallel 3 --index 0
- run: cd packages/server && npm run test-e2e -- --parallel 5 --index 0
- store_test_results:
path: /tmp/cypress-monorepo
@@ -237,7 +237,7 @@ jobs:
steps:
- restore_cache:
key: cypress-monorepo-{{ .Branch }}-{{ .Revision }}
- run: cd packages/server && npm run test-e2e -- --parallel 3 --index 1
- run: cd packages/server && npm run test-e2e -- --parallel 5 --index 1
- store_test_results:
path: /tmp/cypress-monorepo
@@ -246,7 +246,25 @@ jobs:
steps:
- restore_cache:
key: cypress-monorepo-{{ .Branch }}-{{ .Revision }}
- run: cd packages/server && npm run test-e2e -- --parallel 3 --index 2
- run: cd packages/server && npm run test-e2e -- --parallel 5 --index 2
- store_test_results:
path: /tmp/cypress-monorepo
"server-e2e-tests-4":
<<: *defaults
steps:
- restore_cache:
key: cypress-monorepo-{{ .Branch }}-{{ .Revision }}
- run: cd packages/server && npm run test-e2e -- --parallel 5 --index 3
- store_test_results:
path: /tmp/cypress-monorepo
"server-e2e-tests-5":
<<: *defaults
steps:
- restore_cache:
key: cypress-monorepo-{{ .Branch }}-{{ .Revision }}
- run: cd packages/server && npm run test-e2e -- --parallel 5 --index 4
- store_test_results:
path: /tmp/cypress-monorepo
@@ -345,6 +363,12 @@ workflows:
- server-e2e-tests-3:
requires:
- build
- server-e2e-tests-4:
requires:
- build
- server-e2e-tests-5:
requires:
- build
## TODO: temporarily commenting out
# - driver-unit-tests:
# requires: