Skip to content

Commit 3cf4b55

Browse files
committed
try improve coverall
1 parent ecdbab4 commit 3cf4b55

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.coveralls.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repo_root: ./

.github/workflows/build.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,11 @@ jobs:
191191
ls -la test/testflows/_coverage_
192192
go env
193193
go tool covdata textfmt -i test/testflows/_coverage_/ -o test/testflows/_coverage_/coverage.out
194+
sed -i -e 's/^github.com\/Altinity\/clickhouse-backup\///g' test/testflows/_coverage_/coverage.out
194195
- name: Report testflows coverage
195196
uses: coverallsapp/github-action@v2
196197
with:
198+
base-path: ./
197199
file: test/testflows/_coverage_/coverage.out
198200
parallel: true
199201
format: golang
@@ -336,9 +338,11 @@ jobs:
336338
sudo chmod -Rv a+rw test/integration/_coverage_/
337339
ls -la test/integration/_coverage_
338340
go tool covdata textfmt -i test/integration/_coverage_/ -o test/integration/_coverage_/coverage.out
341+
sed -i -e 's/^github.com\/Altinity\/clickhouse-backup\///g' test/integration/_coverage_/coverage.out
339342
- name: Report integration coverage
340343
uses: coverallsapp/github-action@v2
341344
with:
345+
base-path: ./
342346
file: test/integration/_coverage_/coverage.out
343347
parallel: true
344348
format: golang
@@ -353,6 +357,7 @@ jobs:
353357
- name: Coveralls Finished
354358
uses: coverallsapp/github-action@v2
355359
with:
360+
base-path: ./
356361
parallel-finished: true
357362
docker:
358363
needs:

0 commit comments

Comments
 (0)