From fffd55de42522c50a8dff7b5da990315070568af Mon Sep 17 00:00:00 2001 From: jakirkham Date: Sat, 5 Nov 2022 19:10:46 -0700 Subject: [PATCH] Add Codecov config [ci skip] --- .github/codecov.yml | 15 +++++++++++++++ docs/release.rst | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml new file mode 100644 index 00000000..e9b99c82 --- /dev/null +++ b/.github/codecov.yml @@ -0,0 +1,15 @@ +coverage: + status: + project: + default: + target: 100 + threshold: 0.1 + patch: + default: + target: 100 +comment: + layout: "diff, files" + behavior: default + require_changes: true # if true: only post the comment if coverage changes + branches: # branch names that can post comment + - "main" diff --git a/docs/release.rst b/docs/release.rst index 01d7a0a8..b9a18930 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -59,7 +59,8 @@ Maintenance By :user:`John Kirkham `, :issue:`383`. * Collect coverage on all OSes & enable Codecov. - By :user:`John Kirkham `, :issue:`386`, :issue:`388`. + By :user:`John Kirkham `, :issue:`386`, :issue:`388`, + :issue:`390`, :issue:`391`. .. _release_0.10.2: