Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,19 @@ jobs:
run: cargo test --features serialize,escape-html
- name: Prepare coverage information for upload
if: runner.os == 'Linux'
# --token is required by grcov, but not required by coveralls.io, so pass
# something to get it work. See https://github.com/mozilla/grcov/issues/833
run: |
grcov ./coverage \
-s . \
--binary-path ./target/debug/ \
--branch \
--ignore-not-existing \
--ignore 'tests/*' \
-t coveralls+ \
--token ? \
-o ./coveralls.json
-o ./coverage.lcov
- name: Upload coverage to codecov.io
if: runner.os == 'Linux'
uses: codecov/codecov-action@v2
with:
files: ./coveralls.json
files: ./coverage.lcov
flags: unittests
verbose: true
continue-on-error: true
Expand Down