From 82acee89623d0d84e1575147fb83ed387646bce8 Mon Sep 17 00:00:00 2001 From: Hannes Rantzsch Date: Sun, 2 Jun 2024 12:42:07 +0200 Subject: [PATCH] Codecov (#40) * Add codecov.yml to ignore catch.hpp * Readme: update GH Actions CI badge --- README.md | 4 ++-- codecov.yml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 codecov.yml diff --git a/README.md b/README.md index db7ee00..0390bba 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Keychain -![CI Badge](https://github.com/hrantzsch/keychain/workflows/Build%20and%20test/badge.svg) +[![CI](https://github.com/hrantzsch/keychain/actions/workflows/ci.yml/badge.svg)](https://github.com/hrantzsch/keychain/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/hrantzsch/keychain/branch/master/graph/badge.svg)](https://codecov.io/gh/hrantzsch/keychain) [![Conan Center](https://img.shields.io/conan/v/keychain)](https://conan.io/center/recipes/keychain) @@ -19,7 +19,7 @@ On macOS the passwords are managed by the Keychain, on Linux they are managed by int main() { // used to indicate errors - keychain::Error error{}; + keychain::Error error; // used to identify the password in the OS credentials storage const std::string package = "com.example.keychain-app"; diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..719149a --- /dev/null +++ b/codecov.yml @@ -0,0 +1,4 @@ +codecov: + branch: master +ignore: + - "test/catch\\.hpp"