Browse Source

ci: Map paths in codecov to paths in the repo

Codecov uses the location of files on disk during coverage, which in our
action has an additional prefix compared to the path in the repo, making
some of the stats in codecov not work.
https://docs.codecov.io/docs/fixing-paths explains how to address that

Signed-off-by: Anatole Denis <anatole@unverle.fr>
Anatole Denis 4 years ago
parent
commit
f4b74e59ca
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/codecov.yml

+ 4 - 0
.github/codecov.yml

@@ -0,0 +1,4 @@
+# Map file paths during tests to the canonical path in the repo
+fixes:
+    # Removes the prefix we use during github actions
+    - "src/github.com/coredhcp/coredhcp/::"