Home

Awesome

octocov-runn-coverage

CI Coverage Code to Test Ratio Test Execution Time

Generate octocov custom metrics JSON from the output of runn coverage.

Usage

$ runn coverage --format json | octocov-runn-coverage

Install

go install:

$ go install github.com/k1LoW/octocov-runn-coverage/cmd/octocov-runn-coverage@latest

deb:

$ export OCTOCOV_RUNN_COVERAGE_VERSION=X.X.X
$ curl -o octocov-runn-coverage.deb -L https://github.com/k1LoW/octocov-runn-coverage/releases/download/v$OCTOCOV_RUNN_COVERAGE_VERSION/octocov-runn-coverage_$OCTOCOV_RUNN_COVERAGE_VERSION-1_amd64.deb
$ dpkg -i octocov-runn-coverage.deb

RPM:

$ export OCTOCOV_RUNN_COVERAGE_VERSION=X.X.X
$ yum install https://github.com/k1LoW/octocov-runn-coverage/releases/download/v$OCTOCOV_RUNN_COVERAGE_VERSION/octocov-runn-coverage_$OCTOCOV_RUNN_COVERAGE_VERSION-1_amd64.rpm

apk:

$ export OCTOCOV_RUNN_COVERAGE_VERSION=X.X.X
$ curl -o octocov-runn-coverage.apk -L https://github.com/k1LoW/octocov-runn-coverage/releases/download/v$OCTOCOV_RUNN_COVERAGE_VERSION/octocov-runn-coverage_$OCTOCOV_RUNN_COVERAGE_VERSION-1_amd64.apk
$ apk add octocov-runn-coverage.apk

homebrew tap:

$ brew install k1LoW/tap/octocov-runn-coverage

manually:

Download binary from releases page