ci: Try codecov.io

This commit is contained in:
Hendrik Eeckhaut
2024-10-07 16:43:57 +02:00
parent 2ac9de1edd
commit 61ff3a8255

View File

@@ -132,10 +132,10 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --exclude tlsn-tls-client --exclude tlsn-tls-core --html
- name: Save coverage report
uses: actions/upload-artifact@v4
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
name: coverage-report
path: ./target/llvm-cov/html/
if-no-files-found: error
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true