diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 891eed1..0d4214a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,11 +63,13 @@ jobs: - uses: actions-rs/toolchain@v1.0.7 with: toolchain: nightly + components: llvm-tools-preview override: true - - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1.3 - with: - version: '0.16.0' - timeout: 300 + - name: Install rustfilt, cargo-llvm-cov cargo commands + run: | + cargo install rustfilt + cargo install cargo-llvm-cov --version 0.1.0-alpha.3 + - name: Generate code coverage + run: cargo llvm-cov --all-features --lcov > lcov.info - name: Upload coverage report to Codecov uses: codecov/codecov-action@v1.5.2