Skip to content

Commit

Permalink
workflow: add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
KevFan committed Jul 25, 2023
1 parent 775596d commit e3d811f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,15 @@ jobs:
- uses: abelfodil/protoc-action@v1
with:
protoc-version: '3.19.4'
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Test and Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Codecov
uses: codecov/codecov-action@v3
with:
verbose: true
fail_ci_if_error: true

fmt:
name: Rustfmt
Expand Down

0 comments on commit e3d811f

Please sign in to comment.