Socket
Socket
Sign inDemoInstall

covwatcher-client

Package Overview
Dependencies
23
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    covwatcher-client

Client for the covwatcher server. Used to upload reports.


Version published
Weekly downloads
12
increased by1100%
Maintainers
1
Install size
13.0 MB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 09 May 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc