From 299ac98f83c8ceb031c177a87f92cdcd130cb6d6 Mon Sep 17 00:00:00 2001 From: harachan <44335168+harakeishi@users.noreply.github.com> Date: Tue, 16 Aug 2022 12:56:07 +0900 Subject: [PATCH 1/7] Update .octocov.yml --- .octocov.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.octocov.yml b/.octocov.yml index 827eb54..1aed354 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,4 @@ report: diff: datastores: - artifact://${GITHUB_REPOSITORY} +push: From 184e8544cf13b79f71c3285ddec6630470f2bb3e Mon Sep 17 00:00:00 2001 From: harachan <44335168+harakeishi@users.noreply.github.com> Date: Tue, 16 Aug 2022 12:59:04 +0900 Subject: [PATCH 2/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eea3246..3b339af 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)[![octocov-coverage](./docs/coverage.svg)][![octocov-ratio](./docs/ratio.svg)][![octocov-time](./docs/time.svg)] "whris" is Displays management information for IPs associated with the domain. From 23d08d78413dd69d8fe21dd626cb77946658751b Mon Sep 17 00:00:00 2001 From: harachan <44335168+harakeishi@users.noreply.github.com> Date: Tue, 16 Aug 2022 13:02:41 +0900 Subject: [PATCH 3/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b339af..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)[![octocov-coverage](./docs/coverage.svg)][![octocov-ratio](./docs/ratio.svg)][![octocov-time](./docs/time.svg)] +[![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. From b01cc28b5aeba114cce96a8a4bb06756c0ee892e Mon Sep 17 00:00:00 2001 From: harachan <44335168+harakeishi@users.noreply.github.com> Date: Tue, 16 Aug 2022 13:03:32 +0900 Subject: [PATCH 4/7] Create coverage.svg --- docs/coverage.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/coverage.svg 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 @@ + From 3b8bb05bee567dc04659b2fa5a3aeddae0334108 Mon Sep 17 00:00:00 2001 From: harachan <44335168+harakeishi@users.noreply.github.com> Date: Tue, 16 Aug 2022 13:08:18 +0900 Subject: [PATCH 5/7] Update .octocov.yml --- .octocov.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.octocov.yml b/.octocov.yml index 1aed354..9c0b1c0 100644 --- a/.octocov.yml +++ b/.octocov.yml @@ -3,6 +3,7 @@ coverage: - coverage.out badge: path: docs/coverage.svg + push: codeToTestRatio: code: - '**/*.go' @@ -11,10 +12,12 @@ codeToTestRatio: - '**/*_test.go' badge: path: docs/ratio.svg + push: testExecutionTime: if: true badge: path: docs/time.svg + push: comment: if: is_pull_request report: @@ -24,4 +27,3 @@ report: diff: datastores: - artifact://${GITHUB_REPOSITORY} -push: From a3333e4c19c0cbb3a2dc90be92bd2527bac0578e Mon Sep 17 00:00:00 2001 From: harachan <44335168+harakeishi@users.noreply.github.com> Date: Tue, 16 Aug 2022 13:11:15 +0900 Subject: [PATCH 6/7] Update .octocov.yml --- .octocov.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.octocov.yml b/.octocov.yml index 9c0b1c0..1aed354 100644 --- a/.octocov.yml +++ b/.octocov.yml @@ -3,7 +3,6 @@ coverage: - coverage.out badge: path: docs/coverage.svg - push: codeToTestRatio: code: - '**/*.go' @@ -12,12 +11,10 @@ codeToTestRatio: - '**/*_test.go' badge: path: docs/ratio.svg - push: testExecutionTime: if: true badge: path: docs/time.svg - push: comment: if: is_pull_request report: @@ -27,3 +24,4 @@ report: diff: datastores: - artifact://${GITHUB_REPOSITORY} +push: From e7fc9999eff564cd337ccbd0b410206b10ee8238 Mon Sep 17 00:00:00 2001 From: harachan <44335168+harakeishi@users.noreply.github.com> Date: Tue, 16 Aug 2022 13:12:56 +0900 Subject: [PATCH 7/7] Update .octocov.yml --- .octocov.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.octocov.yml b/.octocov.yml index 1aed354..cc299d9 100644 --- a/.octocov.yml +++ b/.octocov.yml @@ -25,3 +25,4 @@ diff: datastores: - artifact://${GITHUB_REPOSITORY} push: + if: is_default_branch