Skip to content

Commit 2500cb3

Browse files
feat(circleci): store test results in test job
1 parent 467d57d commit 2500cb3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

plugins/circleci/.toolkitrc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ options:
3434
persist: ['.']
3535
- name: test
3636
command: 'test:ci'
37+
steps:
38+
post:
39+
- store_test_results:
40+
path: test-results
41+
- store_artifacts:
42+
path: test-results
43+
destination: test-results
3744
workflows:
3845
- name: 'tool-kit'
3946
custom:

plugins/circleci/test/__snapshots__/circleci-config.test.ts.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ jobs:
5050
- run:
5151
name: test
5252
command: npx dotcom-tool-kit test:ci
53+
- store_test_results:
54+
path: test-results
55+
- store_artifacts:
56+
path: test-results
57+
destination: test-results
5358
- persist_to_workspace:
5459
root: .
5560
paths:

0 commit comments

Comments
 (0)