fix: strip module prefix from coverage paths for Codecov
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
b01b7f4d88
commit
954cd714a1
1 changed files with 3 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -15,7 +15,9 @@ jobs:
|
|||
go-version-file: go.mod
|
||||
|
||||
- name: Run tests with coverage
|
||||
run: go test -coverprofile=coverage.out ./tests/...
|
||||
run: |
|
||||
go test -coverprofile=coverage.out ./tests/...
|
||||
sed -i 's|dappco.re/go/core/||g' coverage.out
|
||||
|
||||
- name: Upload to Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue