Skip to content

Commit 02ba9a8

Browse files
authored
Merge pull request #392 from Mingun/coverage-lcov
Use lcov format when sending coverage results
2 parents 015079b + dc180b1 commit 02ba9a8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,19 @@ jobs:
4242
run: cargo test --features serialize,escape-html
4343
- name: Prepare coverage information for upload
4444
if: runner.os == 'Linux'
45-
# --token is required by grcov, but not required by coveralls.io, so pass
46-
# something to get it work. See https://github.com/mozilla/grcov/issues/833
4745
run: |
4846
grcov ./coverage \
4947
-s . \
5048
--binary-path ./target/debug/ \
5149
--branch \
5250
--ignore-not-existing \
5351
--ignore 'tests/*' \
54-
-t coveralls+ \
55-
--token ? \
56-
-o ./coveralls.json
52+
-o ./coverage.lcov
5753
- name: Upload coverage to codecov.io
5854
if: runner.os == 'Linux'
5955
uses: codecov/codecov-action@v2
6056
with:
61-
files: ./coveralls.json
57+
files: ./coverage.lcov
6258
flags: unittests
6359
verbose: true
6460
continue-on-error: true

0 commit comments

Comments
 (0)