Skip to content

Commit

Permalink
Include working coverage script (#2997)
Browse files Browse the repository at this point in the history
* Include working coverage script

* Increase timeouts for CLI tests

* Run coverage on CI

* Fix typo

* Remove solo test

* Run codecov on CI

* Simplify setup as it appears special instrumentation is not really necessary for nyc
(and we could have had this much earlier...)
  • Loading branch information
lukastaegert committed Jul 16, 2019
1 parent db6979d commit b194d4a
Show file tree
Hide file tree
Showing 7 changed files with 873 additions and 218 deletions.
8 changes: 7 additions & 1 deletion .circleci/config.yml
Expand Up @@ -54,7 +54,13 @@ jobs:
node-v12-latest:
docker:
- image: rollupcabal/circleci-node-v12:latest
<<: *unit_tests_12
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Run tests with coverage.
command: npm run ci:coverage

workflows:
version: 2
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -8,8 +8,10 @@ coverage
.commithash
.idea
bin/rollup
bin/rollup.map
test/_tmp
test/hooks/tmp
test/tmp
test/typescript/typings
perf/
.nyc_output/
4 changes: 4 additions & 0 deletions .nycrc
@@ -0,0 +1,4 @@
{
"exclude": ["*commonjsHelpers.js", "test"],
"extension": [".ts", ""]
}

0 comments on commit b194d4a

Please sign in to comment.