Skip to content

Commit 506e119

Browse files
committed
update ci to use coverall cli
1 parent 7333ead commit 506e119

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/coverage.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ jobs:
104104
echo "Total source files in coverage:"
105105
grep -c "^SF:" coverage/lcov.info || true
106106
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-
format: lcov
113-
base-path: .
114-
flag-name: combined
115-
parallel: false
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-actions
114+
run: |
115+
cat coverage/lcov.info | coveralls

0 commit comments

Comments
 (0)