Skip to content

Commit

Permalink
fix: Added Istanbul (not Constantinople) as a code coverage checker (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
allenhsieh authored Feb 24, 2020
1 parent 5e77eb8 commit c7d3536
Show file tree
Hide file tree
Showing 9 changed files with 949 additions and 12 deletions.
17 changes: 16 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,24 @@ jobs:
- run:
name: build
command: npm run build
- run:
name: make test reports directory
command: mkdir reports
- run:
name: test
command: npm run test
command: npm run test-ci
- run:
name: code coverage
command: |
npm run coverage
npm run generate-coverage-report
- store_test_results:
path: reports
- store_artifacts:
path: ./reports/test-results.xml
- store_artifacts:
path: ./lcov.info
prefix: tests
- run:
name: dogfood scan
command: npm run start -- ossi
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
auditjs.json
# ci config for local ci build
/.circleci/local-config.yml
# Instanbul code coverage report
.nyc_output/
reports/
lcov.info
test-results.xml
3 changes: 3 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"exclude": ["**/*/*.spec.ts"]
}
Loading

0 comments on commit c7d3536

Please sign in to comment.