Skip to content

Commit

Permalink
Build: Add junit summary for CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Apr 4, 2022
1 parent 6334e72 commit a666dc9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,8 @@ jobs:
- run:
name: Test
command: yarn test --coverage --runInBand --ci
- store_test_results:
path: junit.xml
- persist_to_workspace:
root: .
paths:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ tsconfig.tsbuildinfo
lib/manager-webpack4/prebuilt
lib/manager-webpack5/prebuilt
examples/angular-cli/addon-jest.testresults.json
junit.xml

# Yarn stuff
/**/.yarn/*
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,5 @@ module.exports = {
modulePathIgnorePatterns: ['/dist/.*/__mocks__/'],
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json', 'node'],
watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'],
reporters: ['default', 'jest-junit'],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
"jest-enzyme": "^7.1.2",
"jest-image-snapshot": "^4.3.0",
"jest-jasmine2": "^26.6.3",
"jest-junit": "^13.0.0",
"jest-os-detection": "^1.3.1",
"jest-raw-loader": "^1.0.1",
"jest-serializer-html": "^7.0.0",
Expand Down
20 changes: 20 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8321,6 +8321,7 @@ __metadata:
jest-enzyme: ^7.1.2
jest-image-snapshot: ^4.3.0
jest-jasmine2: ^26.6.3
jest-junit: ^13.0.0
jest-os-detection: ^1.3.1
jest-raw-loader: ^1.0.1
jest-serializer-html: ^7.0.0
Expand Down Expand Up @@ -27818,6 +27819,18 @@ __metadata:
languageName: node
linkType: hard

"jest-junit@npm:^13.0.0":
version: 13.0.0
resolution: "jest-junit@npm:13.0.0"
dependencies:
mkdirp: ^1.0.4
strip-ansi: ^6.0.1
uuid: ^8.3.2
xml: ^1.0.1
checksum: 470028c9e7c0143ae28a30dd4760dc67f62682dd927344b33e02e57812524b3d3c4233703756f49f8fc67ef0c944084af69b3a6f396514f78196e43e23e37b09
languageName: node
linkType: hard

"jest-leak-detector@npm:^24.9.0":
version: 24.9.0
resolution: "jest-leak-detector@npm:24.9.0"
Expand Down Expand Up @@ -47413,6 +47426,13 @@ __metadata:
languageName: node
linkType: hard

"xml@npm:^1.0.1":
version: 1.0.1
resolution: "xml@npm:1.0.1"
checksum: 04bcc9b8b5e7b49392072fbd9c6b0f0958bd8e8f8606fee460318e43991349a68cbc5384038d179ff15aef7d222285f69ca0f067f53d071084eb14c7fdb30411
languageName: node
linkType: hard

"xmlbuilder@npm:~11.0.0":
version: 11.0.1
resolution: "xmlbuilder@npm:11.0.1"
Expand Down

0 comments on commit a666dc9

Please sign in to comment.