srctree

Robin Linden parent 7f6c7adc af1a1f13
ci: Allow code coverage to fluctuate a bit

This isn't really great, but after we migrated from gcc 10 to gcc 11 forcode coverage, gcc has been a bit confused about if e.g. functions'closing braces or even lambda variable declarations are covered whenit's literally impossible to not hit them if you call the function.

inlinesplit
codecov.yml added: 11, removed: 1, total 10
@@ -1,2 +1,12 @@
# https://docs.codecov.com/docs/pull-request-comments#disable-comment
comment: false
 
coverage:
status:
project:
default:
# Allow coverage to fluctuate a bit. This is mostly to work around gcc
# not always reporting e.g. functions' closing braces or lambda variable
# declarations as covered, leading to "indirect changes" that really
# aren't changes at all.
threshold: 1%