From fc7574db48d4da55112ba5bd9b1c7ad082256230 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Fri, 4 Mar 2022 21:56:48 +1100 Subject: [PATCH] ci: try dogfooding on circleci --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 450c196c3dce..a17f143542c1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,8 @@ jobs: parameters: node-version: type: string + shard: + type: string working_directory: ~/jest executor: node/default steps: @@ -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=<< parameters.shard >> - store_test_results: path: reports/junit @@ -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 \ No newline at end of file