aptos-labs / aptos-indexer-processors

Set of core processors that index data on the Aptos blockchain
https://aptos.dev/indexer/indexer-landing
60 stars 72 forks source link

[indexer-test-coverage] add test coverage ci #592

Closed yuunlimm closed 1 week ago

yuunlimm commented 3 weeks ago

Description

Introducing a CI workflow to track and report test coverage using cargo llvm-cov and integrates with Codecov for visualization. The workflow runs daily or on PRs, generates an lcov report, and uploads it to Codecov. It also updates the README.md to include a Codecov badge for coverage metrics. This aims to improve code quality by providing continuous visibility into test coverage and highlighting untested areas.

Test Plan

https://app.codecov.io/github/aptos-labs/aptos-indexer-processors/tree/11-06-_indexer-test-coverage_add_test_coverage_ci

we can find our coverage here.

Next Step

yuunlimm commented 3 weeks ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

codecov[bot] commented 1 week ago

Welcome to Codecov :tada:

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered :open_umbrella: