Jelajahi Sumber

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 tahun lalu
induk
melakukan
f4b74e59ca
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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/::"