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 năm trước cách đây
mục cha
commit
f4b74e59ca
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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/::"