mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-27 22:59:51 -05:00
ci(circleci): store test results in junit format (#1497)
This commit is contained in:
parent
5415d17e44
commit
1d1a6829db
5 changed files with 21 additions and 2 deletions
|
@ -46,6 +46,8 @@ commands:
|
|||
- run:
|
||||
name: Functional test
|
||||
command: yarn test:functional
|
||||
- store_test_results:
|
||||
path: reports/
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -23,6 +23,7 @@ yarn-error.log
|
|||
|
||||
|
||||
# Istanbul
|
||||
reports/
|
||||
coverage/
|
||||
.nyc*
|
||||
|
||||
|
@ -36,4 +37,3 @@ __tests__
|
|||
|
||||
# Compiled script
|
||||
static/*
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ module.exports = {
|
|||
name: 'verdaccio-unit-jest',
|
||||
verbose: true,
|
||||
collectCoverage: true,
|
||||
reporters: ["default", ["jest-junit", { outputDirectory: 'reports' }]],
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||
testURL: 'http://localhost',
|
||||
testRegex: '(test/unit.*\\.spec)\\.ts',
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
"in-publish": "2.0.0",
|
||||
"jest": "24.9.0",
|
||||
"jest-environment-node": "24.9.0",
|
||||
"jest-junit": "8.0.0",
|
||||
"lint-staged": "8.2.1",
|
||||
"nock": "11.3.3",
|
||||
"prettier": "1.18.2",
|
||||
|
|
17
yarn.lock
17
yarn.lock
|
@ -4906,6 +4906,16 @@ jest-jasmine2@^24.9.0:
|
|||
pretty-format "^24.9.0"
|
||||
throat "^4.0.0"
|
||||
|
||||
jest-junit@8.0.0:
|
||||
version "8.0.0"
|
||||
resolved "https://registry.verdaccio.org/jest-junit/-/jest-junit-8.0.0.tgz#d4f7ff67e292a5426dc60bc38694c9f77cb94178"
|
||||
integrity sha512-cuD2XM2youMjrOxOu/7H2pLfsO8LfAG4D3WsBxd9fFyI9U0uPpmr/CORH64kbIyZ47X5x1Rbzb9ovUkAEvhEEA==
|
||||
dependencies:
|
||||
jest-validate "^24.0.0"
|
||||
mkdirp "^0.5.1"
|
||||
strip-ansi "^4.0.0"
|
||||
xml "^1.0.1"
|
||||
|
||||
jest-leak-detector@^24.9.0:
|
||||
version "24.9.0"
|
||||
resolved "https://registry.verdaccio.org/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz#b665dea7c77100c5c4f7dfcb153b65cf07dcf96a"
|
||||
|
@ -5076,7 +5086,7 @@ jest-util@^24.9.0:
|
|||
slash "^2.0.0"
|
||||
source-map "^0.6.0"
|
||||
|
||||
jest-validate@^24.9.0:
|
||||
jest-validate@^24.0.0, jest-validate@^24.9.0:
|
||||
version "24.9.0"
|
||||
resolved "https://registry.verdaccio.org/jest-validate/-/jest-validate-24.9.0.tgz#0775c55360d173cd854e40180756d4ff52def8ab"
|
||||
integrity sha512-HPIt6C5ACwiqSiwi+OfSSHbK8sG7akG8eATl+IPKaeIjtPOeBUd/g3J7DghugzxrGjI93qS/+RPKe1H6PqvhRQ==
|
||||
|
@ -8436,6 +8446,11 @@ xml-name-validator@^3.0.0:
|
|||
resolved "https://registry.verdaccio.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
|
||||
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==
|
||||
|
||||
xml@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.verdaccio.org/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
|
||||
integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=
|
||||
|
||||
xmlchars@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.verdaccio.org/xmlchars/-/xmlchars-2.1.1.tgz#ef1a81c05bff629c2280007f12daca21bd6f6c93"
|
||||
|
|
Loading…
Add table
Reference in a new issue