Merge pull request #11 from dAppCore/dev
fix: strip module prefix from coverage paths for Codecov
This commit is contained in:
commit
df1576b101
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