From 3cee362b120111c31de03671c2e6e121c93b1e15 Mon Sep 17 00:00:00 2001 From: zssherman Date: Wed, 10 Jan 2024 12:42:51 -0600 Subject: [PATCH 1/3] CI: Remove tests from codecov. Fixes the moved path. --- .coveragerc | 2 +- codecov.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.coveragerc b/.coveragerc index 32bf3b31db..f4df069de9 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,6 @@ [run] omit = - act/tests/* + tests/* act/*version*py versioneer.py setup.py diff --git a/codecov.yml b/codecov.yml index bcb8280c4e..3256187074 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,7 +5,7 @@ codecov: comment: false ignore: - - 'act/tests/*.py' + - 'tests/*.py' - 'act/*version*py' - 'setup.py' - 'versioneer.py' From 4fd325097282313a093f62d6197d06665c35b245 Mon Sep 17 00:00:00 2001 From: zssherman Date: Wed, 10 Jan 2024 12:55:05 -0600 Subject: [PATCH 2/3] FIX: Recursive exclude. --- .coveragerc | 2 +- codecov.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.coveragerc b/.coveragerc index f4df069de9..4161666025 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,6 @@ [run] omit = - tests/* + tests/**/*.py act/*version*py versioneer.py setup.py diff --git a/codecov.yml b/codecov.yml index 3256187074..0263db0054 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,7 +5,7 @@ codecov: comment: false ignore: - - 'tests/*.py' + - 'tests/**/*.py' - 'act/*version*py' - 'setup.py' - 'versioneer.py' From 171e5d649263302a9602f4132cd812b54b9e0d16 Mon Sep 17 00:00:00 2001 From: zssherman Date: Wed, 10 Jan 2024 12:59:07 -0600 Subject: [PATCH 3/3] FIX: True way to ignore tests in coveragrc. --- .coveragerc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 4161666025..cf062df2cc 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,6 @@ [run] omit = - tests/**/*.py + *tests* act/*version*py versioneer.py setup.py