Skip to content

Commit

Permalink
Merge pull request #48 from harakeishi/add-octocov-badge
Browse files Browse the repository at this point in the history
add octocov badge
  • Loading branch information
harakeishi committed Aug 16, 2022
2 parents 79afd67 + e7fc999 commit 3e9d843
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .octocov.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
coverage:
paths:
- coverage.out
badge:
path: docs/coverage.svg
codeToTestRatio:
code:
- '**/*.go'
- '!**/*_test.go'
test:
- '**/*_test.go'
badge:
path: docs/ratio.svg
testExecutionTime:
if: true
badge:
path: docs/time.svg
comment:
if: is_pull_request
report:
Expand All @@ -18,3 +24,5 @@ report:
diff:
datastores:
- artifact://${GITHUB_REPOSITORY}
push:
if: is_default_branch
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
[![GitHub release](https://img.shields.io/github/release/harakeishi/whris.svg)](https://github.com/harakeishi/whris/releases) [![Go Report Card](https://goreportcard.com/badge/github.com/harakeishi/whris)](https://goreportcard.com/report/github.com/harakeishi/whris) [![Test](https://github.com/harakeishi/whris/actions/workflows/test.yml/badge.svg)](https://github.com/harakeishi/whris/actions/workflows/test.yml)
[![GitHub release](https://img.shields.io/github/release/harakeishi/whris.svg)](https://github.com/harakeishi/whris/releases) [![Go Report Card](https://goreportcard.com/badge/github.com/harakeishi/whris)](https://goreportcard.com/report/github.com/harakeishi/whris) [![Test](https://github.com/harakeishi/whris/actions/workflows/test.yml/badge.svg)](https://github.com/harakeishi/whris/actions/workflows/test.yml)![coverage](docs/coverage.svg)![ratio](docs/ratio.svg)![time](docs/time.svg)

"whris" is Displays management information for IPs associated with the domain.

Expand Down
1 change: 1 addition & 0 deletions docs/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3e9d843

Please sign in to comment.