From e25ee19a16372d3123fda8b297fa963b87ee4449 Mon Sep 17 00:00:00 2001 From: Ihar Varauka Date: Tue, 24 Sep 2024 10:48:50 +0200 Subject: [PATCH] feat: added Upload to codecov --- .github/workflows/coverage.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 24a590b..f8ad1ad 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -13,7 +13,12 @@ jobs: - uses: dtolnay/rust-toolchain@stable - - name: coverage + - name: Generate code coverage run: | cargo install cargo-tarpaulin - cargo tarpaulin --engine llvm --follow-exec --post-test-delay 10 + cargo tarpaulin --engine llvm --follow-exec --post-test-delay 10 --verbose --all-features --workspace --timeout 120 --out xml + + - name: Upload to codecov.io + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true \ No newline at end of file