diff --git a/.octocov.yml b/.octocov.yml index 827eb54..cc299d9 100644 --- a/.octocov.yml +++ b/.octocov.yml @@ -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: @@ -18,3 +24,5 @@ report: diff: datastores: - artifact://${GITHUB_REPOSITORY} +push: + if: is_default_branch diff --git a/README.md b/README.md index eea3246..166f047 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-) -[![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. diff --git a/docs/coverage.svg b/docs/coverage.svg new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/docs/coverage.svg @@ -0,0 +1 @@ +