Skip to content

criptan/coveralls-lerna

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coveralls-lerna

Build Status Coverage Status

A tool that can be used to parse test coverage results, merge reports together, and POST them to coveralls.io.

The Problem

Mono-repo tools like lerna run tests in lots of directories and leave lcov.info files all over the place. It would be useful to aggregate these and see them on code-coverage sites like Coveralls. This tool collates coverate reports, rewrites the paths in them and sends them to coveralls.

Based on the most excellent @sourceallies/coveralls-merge

Installation

npm coveralls-lerna --save-dev

Usage

CLI

coveralls-lerna

Repo Token

This tool reads the Coveralls repository token from the environment variable COVERALLS_REPO_TOKEN. If this is not set it tries to guess the CI environment and job ID, if if can't do that either it will throw an error.

About

Collates coverage data generated by monorepos and sends it to coveralls

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%