runncoverage

package module
v0.1.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 5 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(cov *runn.Coverage) (*report.CustomMetricSet, error)

func ParseMetadata

func ParseMetadata(in io.Reader) []*report.MetadataKV

ParseMetadata parse stdin and return metadata.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL