Skip to content

Commit

Permalink
chore: add test:ci upload junit file
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Mar 3, 2019
1 parent a5fd23e commit 75f48f4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ dist
.rpt2_cache
demo/**/*.js
demo/**/*.js.map
junit.xml
4 changes: 4 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ jobs:
- run:
name: test
command: npm run test:ci
environment:
JEST_JUNIT_OUTPUT: jest/test-report.xml
- run:
name: lint
command: npm run lint
- run:
name: codecov
command: bash <(curl -s https://codecov.io/bash)
- store_test_results:
path: jest
release:
docker:
- image: circleci/node:10
Expand Down
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"build-cmjs": "tsc -P ./tsconfig-build.json",
"build:docs": "typedoc src && touch docs/.nojekyll",
"test": "jest",
"test:ci": "jest --ci --runInBand --reporters=default --reporters=jest-junit --coverage",
"test:watch": "jest --watch",
"test:prod": "npm run test -- --coverage --no-cache",
"semantic-release": "cd dist && semantic-release"
},
"devDependencies": {
Expand All @@ -50,6 +50,7 @@
"eslint-plugin-import": "2.16.0",
"fs-extra": "7.0.1",
"jest": "24.1.0",
"jest-junit": "6.3.0",
"npm-run-all": "4.1.5",
"rimraf": "2.6.3",
"rollup": "1.4.0",
Expand Down

0 comments on commit 75f48f4

Please sign in to comment.