Skip to content

Commit

Permalink
try improve coverall
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Aug 28, 2024
1 parent ecdbab4 commit 3cf4b55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_root: ./
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,11 @@ jobs:
ls -la test/testflows/_coverage_
go env
go tool covdata textfmt -i test/testflows/_coverage_/ -o test/testflows/_coverage_/coverage.out
sed -i -e 's/^github.com\/Altinity\/clickhouse-backup\///g' test/testflows/_coverage_/coverage.out
- name: Report testflows coverage
uses: coverallsapp/github-action@v2
with:
base-path: ./
file: test/testflows/_coverage_/coverage.out
parallel: true
format: golang
Expand Down Expand Up @@ -336,9 +338,11 @@ jobs:
sudo chmod -Rv a+rw test/integration/_coverage_/
ls -la test/integration/_coverage_
go tool covdata textfmt -i test/integration/_coverage_/ -o test/integration/_coverage_/coverage.out
sed -i -e 's/^github.com\/Altinity\/clickhouse-backup\///g' test/integration/_coverage_/coverage.out
- name: Report integration coverage
uses: coverallsapp/github-action@v2
with:
base-path: ./
file: test/integration/_coverage_/coverage.out
parallel: true
format: golang
Expand All @@ -353,6 +357,7 @@ jobs:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
base-path: ./
parallel-finished: true
docker:
needs:
Expand Down

0 comments on commit 3cf4b55

Please sign in to comment.