Skip to content

Commit

Permalink
ci: try dogfooding on circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed Mar 4, 2022
1 parent 8a6d66f commit 5ff3de4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
parameters:
node-version:
type: string
shard:
type: string
working_directory: ~/jest
executor: node/default
steps:
Expand All @@ -27,7 +29,7 @@ jobs:
node-version: << parameters.node-version >>
- node/install-packages: *install
- run:
command: yarn test-ci-partial
command: yarn test-ci-partial --shard=<< matrix.shard >>
- store_test_results:
path: reports/junit

Expand All @@ -49,8 +51,9 @@ workflows:
build-and-deploy:
jobs:
- test-node:
name: test-node-partial-<< matrix.node-version >>
name: test-node-partial-<< matrix.node-version >>-<< matrix.shard >>
matrix:
parameters:
node-version: ['12', '14', '16', '17']
- test-jest-jasmine
shard: ['1/3', '2/3', '3/3']
- test-jest-jasmine

0 comments on commit 5ff3de4

Please sign in to comment.