Attempted workaround for intermittent coverage issues (#3661)
The root cause is https://bitbucket.org/ned/coveragepy/issues/578/incomplete-file-path-in-xml-report
diff --git a/codecov.yml b/codecov.yml
index 2bfc815..0236279 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -7,3 +7,12 @@
project:
default:
target: '100'
+
+# Workaround for
+# https://bitbucket.org/ned/coveragepy/issues/578/incomplete-file-path-in-xml-report
+fixes:
+ # Label all the files with a `tests/` prefix.
+ - "::tests/"
+ # Move things with a `tests/src/cryptography` prefix back to
+ # `src/cryptography/`
+ - "tests/src/cryptography/::src/cryptography/"