Skip to content

Commit 253eb73

Browse files
committed
update ci
1 parent 0168db1 commit 253eb73

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -104,18 +104,9 @@ jobs:
104104
echo "Total source files in coverage:"
105105
grep -c "^SF:" coverage/lcov.info || true
106106
107-
- name: Install Coveralls CLI
108-
run: npm install -g coveralls
109-
110-
- name: Upload coverage to Coveralls
111-
env:
112-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113-
COVERALLS_SERVICE_NAME: github
114-
COVERALLS_SERVICE_NUMBER: ${{ github.run_number }}
115-
COVERALLS_SERVICE_JOB_ID: ${{ github.run_id }}
116-
COVERALLS_GIT_BRANCH: ${{ github.ref_name }}
117-
COVERALLS_GIT_COMMIT: ${{ github.sha }}
118-
COVERALLS_PARALLEL: false
119-
run: |
120-
echo "Uploading coverage for build #${{ github.run_number }}"
121-
cat coverage/lcov.info | coveralls --verbose
107+
- name: Upload combined coverage report
108+
uses: coverallsapp/github-action@v2
109+
with:
110+
github-token: ${{ secrets.GITHUB_TOKEN }}
111+
path-to-lcov: ./coverage/lcov.info
112+
git-path: .

0 commit comments

Comments
 (0)