summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/rust.yml5
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: