mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
Testing parralelism
This commit is contained in:
parent
2642eb2cf8
commit
f38b119706
@ -1,9 +1,11 @@
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: cimg/node:lts-browsers
|
||||
resource_class: large
|
||||
parallelism: 5
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
@ -22,10 +24,10 @@ jobs:
|
||||
command: npm run release
|
||||
- run:
|
||||
name: Run unit tests
|
||||
command: npm run test:coverage
|
||||
command: npm run test --shard=$(expr $CIRCLE_NODE_INDEX + 1)/$CIRCLE_NODE_TOTAL
|
||||
- run:
|
||||
name: Run e2e tests
|
||||
command: npm run test:e2e
|
||||
command: npm run test:e2e --shard=$(expr $CIRCLE_NODE_INDEX + 1)/$CIRCLE_NODE_TOTAL
|
||||
- run:
|
||||
name: Submit to Codecov
|
||||
command: npm run codecov
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user