From eadcb0871c6ccbe495a45adc33bc992b39220d90 Mon Sep 17 00:00:00 2001 From: Oliver Beckstein Date: Fri, 13 Sep 2024 15:59:06 -0700 Subject: [PATCH 1/4] configure codecov - split project status into package and tests - split patch status, too --- .codecov.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.codecov.yml b/.codecov.yml index f76df15..ea6c1b6 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,22 @@ codecov: branch: main +coverage: + status: + project: + default: false + tests: + paths: "tests/" + target: 100% + package: + paths: "gromacs/" + patch: + default: false + test: + paths: "tests/" + target: 100% + threshold: 0% + package: + paths: "gromacs/" + target: auto + threshold: 0% From 7be12b56f667e26ac382bee95d63080838327b8e Mon Sep 17 00:00:00 2001 From: Oliver Beckstein Date: Fri, 13 Sep 2024 16:39:49 -0700 Subject: [PATCH 2/4] use default branch codecov badge for README --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 73bceab..c095d52 100644 --- a/README.rst +++ b/README.rst @@ -34,7 +34,7 @@ that you are running simulations with sensible parameters. .. |build| image:: https://github.com/Becksteinlab/GromacsWrapper/actions/workflows/ci.yaml/badge.svg?branch=main :target: https://github.com/Becksteinlab/GromacsWrapper/actions/workflows/ci.yaml :alt: Build Status -.. |cov| image:: https://codecov.io/gh/Becksteinlab/GromacsWrapper/branch/main/graph/badge.svg?token=LvbLZ49wxN +.. |cov| image:: https://codecov.io/gh/Becksteinlab/GromacsWrapper/graph/badge.svg?token=LvbLZ49wxN :target: https://codecov.io/gh/Becksteinlab/GromacsWrapper :alt: Code Coverage .. |zenodo| image:: https://zenodo.org/badge/13219/Becksteinlab/GromacsWrapper.svg From 96bf098d59dcbafa414384f847530cbceca3c856 Mon Sep 17 00:00:00 2001 From: Oliver Beckstein Date: Fri, 13 Sep 2024 17:05:57 -0700 Subject: [PATCH 3/4] try renaming codecov file --- .codecov.yml => codecov.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .codecov.yml => codecov.yml (100%) diff --git a/.codecov.yml b/codecov.yml similarity index 100% rename from .codecov.yml rename to codecov.yml From 91b8267598c2ab53273a144222b0991ddeda2a90 Mon Sep 17 00:00:00 2001 From: Oliver Beckstein Date: Fri, 13 Sep 2024 17:15:14 -0700 Subject: [PATCH 4/4] fix yaml --- codecov.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codecov.yml b/codecov.yml index ea6c1b6..58ce3c5 100644 --- a/codecov.yml +++ b/codecov.yml @@ -6,17 +6,17 @@ coverage: project: default: false tests: - paths: "tests/" + paths: ["tests/"] target: 100% package: - paths: "gromacs/" + paths: ["gromacs/"] patch: default: false test: - paths: "tests/" + paths: ["tests/"] target: 100% threshold: 0% package: - paths: "gromacs/" + paths: ["gromacs/"] target: auto threshold: 0%