From ffa15d71e0bd91e0bdf8b1ef0326788449e083fa Mon Sep 17 00:00:00 2001 From: Stephen L Date: Sun, 9 Apr 2023 11:29:59 +0200 Subject: [PATCH] tests: silence coverage error Signed-off-by: Stephen L. --- TODO.md | 2 +- codecov.yml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/TODO.md b/TODO.md index 7ffdd31..7fa9dd2 100644 --- a/TODO.md +++ b/TODO.md @@ -4,7 +4,7 @@ PyFileFixity Todo TODO -------- -000000000. Urgent bugfixes: code coverage is varying because unit test is non-deterministic somehow! Need to fix this issue! Maybe a difference between platforms (eg, of data encoding?) + Need to fix encoding error, see issue #7 on GitHub (and may be related to the previous point) +000000000. Urgent bugfixes: code coverage is varying because unit test is non-deterministic somehow! Need to fix this issue! Maybe a difference between platforms (eg, of data encoding?) + Need to fix encoding error, see issue #7 on GitHub (and may be related to the previous point). See https://community.codecov.com/t/reported-change-in-coverage-when-no-code-changes-made/1346/9 and https://docs.codecov.com/docs/unexpected-coverage-changes 00000000. Rework routines with asyncio https://github.com/SuperFastPython/PythonAsyncioJumpStart diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..5044425 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,7 @@ +coverage: + status: + project: + default: + # basic + target: auto + removed_code_behavior: fully_covered_patch # see: https://about.codecov.io/blog/new-codecov-setting-removed-code-behavior/