diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1182e7..f2599d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,18 @@ jobs: run: cargo test --all-features - name: cargo install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov + + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install rust + uses: dtolnay/rust-toolchain@stable + with: + components: llvm-tools-preview + - name: cargo install cargo-llvm-cov + uses: taiki-e/install-action@cargo-llvm-cov - name: cargo llvm-cov run: cargo llvm-cov --workspace --locked --all-features --lcov --output-path lcov.info - name: Upload to codecov.io