diff options
author | Santo Cariotti <santo@dcariotti.me> | 2020-11-18 19:24:45 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2020-11-18 19:24:45 +0100 |
commit | 79b4ef49a60a01ea631e33bd54fe7b45f4cfd63e (patch) | |
tree | 05e30b51f7c8669ab4e7641ab77ad3d98c29d128 | |
parent | d7684b36abf5a1712dd5c6e1ab81504b704434d5 (diff) |
ci: rust coverage
-rw-r--r-- | .github/workflows/rust.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fbd07bf..df0ced1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,10 +16,15 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Install dependecies + run: | + cargo install cargo-tarpaulin - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: Generate code coverage + run: cargo tarpaulin -v --out Xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: |