소스 검색

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 년 전
부모
커밋
f4b74e59ca
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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/::"