1.9.0 • Published 5 years ago

covwatcher-client v1.9.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

covwatcher-client

codecov CircleCI npm

Client module for Covwatcher

Installation

Install the client in your target repo

npm install covwatcher-client

Documentation

The client is available as executeable covwatcher and can upload reports via commandline parameters or environment variables:

shorthandlong versiondescriptionenvironment variablerequired
-n--namename of the branch or if this is a pullrequest its idCOVWATCHER_BRANCH_NAME*
-t--targetbranchtype, can be "branch" or "pullrequest"COVWATCHER_BRANCH_TYPE*
-y--typerepository type, can be "users" or "project"COVWATCHER_REPO_TYPE*
-p--projectname of the project or user the repository is part ofCOVWATCHER_REPO_PROJECT*
-r--reponame of the repositoryCOVWATCHER_REPO*
-s--serverfull url to the server running covwatcherCOVWATCHER_SERVER*
-d--directoryfull path to the coverage reportCOVWATCHER_REPORT
-a--taskwether to create a task if the diff coverage is low
-l--lcovfull url to the server hosting the lcov report
-b--bailwhether to return nonnull status on failure
-h--helpusage information

The command covwatcher -n "master" -t "branch" -y "users" -p "Fochlac" -r "covwatcher" -s "http://covwatcher.fochlac.com" will start a search for the closest coverage file and upload it to the specified server. The search will start from the location of this package, so it should always be installed in the specific repository you want searched or you should provide the full path to the report via the -d option.

Changelog

License

ISC License

1.9.0

5 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago