Skip to content

Commit

Permalink
#31 Add code coverage report to CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
zembrodt committed Feb 4, 2022
1 parent 19399e8 commit 448c29c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ jobs:
paths:
- "node_modules"
- run: npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
- run:
name: "Run test coverage"
command: npm run coverage
- store_artifacts:
path: coverage
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"coverage": "ng test --no-watch --code-coverage"
},
"private": true,
"dependencies": {
Expand Down

0 comments on commit 448c29c

Please sign in to comment.