From ecd908e03fd3bbab3af7c19e1d10195249b88848 Mon Sep 17 00:00:00 2001 From: Piotr Synowiec Date: Wed, 22 May 2024 19:15:32 +0200 Subject: [PATCH] badges: update --- .octocov.yml | 6 ++++++ README.md | 1 + 2 files changed, 7 insertions(+) diff --git a/.octocov.yml b/.octocov.yml index ed4150b..db02ded 100644 --- a/.octocov.yml +++ b/.octocov.yml @@ -15,6 +15,12 @@ report: datastores: - artifact://${GITHUB_REPOSITORY} codeToTestRatio: + codeToTestRatio: + code: + - '**/*.go' + - '!**/*_test.go' + test: + - '**/*_test.go' badge: path: docs/ratio.svg testExecutionTime: diff --git a/README.md b/README.md index 2333fa5..39e4d8c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Gosec](https://github.com/mysiar-org/go_sql_raw/actions/workflows/gosec.yml/badge.svg)](https://github.com/mysiar-org/go_sql_raw/actions/workflows/gosec.yml) ![coverage](docs/coverage.svg) ![coverage](docs/ratio.svg) ![coverage](docs/time.svg) + The main reason that this module has been created was generic querying database without knowing table structure. ## How to use it