codeclimate/test-coverage-report

Name: test-coverage-report

Owner: Code Climate

Description: Test coverage reporting utility

Created: 2017-05-01 15:52:33.0

Updated: 2017-05-01 16:19:27.0

Pushed: 2017-05-03 16:21:15.0

Homepage: null

Size: 10

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Test Coverage Report

Code Climate

Reports on test coverage for added lines of code within a specified timeframe. Uses GitHub and Code Climate APIs.

Usage

You can the fetch latest version of the reporter by pulling from Docker Hub:

er pull codeclimate/test-coverage-report

To use this reporting tool, you must have a GitHub access token and a Code Climate access token available.

Both access tokens must have access to the respective repositories in order to collect commit and test coverage data. You may run the report against an alternate timeframe (defaults to the past 7 days) by specifying the number of days to include.

er run -it \
env CC_ACCESS_TOKEN="<Code Climate Access Token>" \
env GITHUB_ACCESS_TOKEN="<GitHub Access Token>" \
declimate/test-coverage-report \
wner/repo> [days=7]

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.