spaceandtimelabs / sxt-proof-of-sql

Space and Time | Proof of SQL
Other
1.58k stars 70 forks source link

Set up coverage report in CI. #239

Closed JayWhite2357 closed 5 days ago

JayWhite2357 commented 1 week ago

Background and Motivation

Coverage reports help a lot with code quality and review.

Changes Required

Add a code coverage workflow to the CI. There is no single way to do this, and some work will be needed to figure out a good reporting mechanism.

Some more clarification:

JayWhite2357 commented 6 days ago

/bounty $200

algora-pbc[bot] commented 6 days ago

💎 $200 bounty • Space and Time

Steps to solve:

  1. Start working: (Optional) Comment /attempt #239 with your implementation plan. Note: we will only assign an issue if you include an implementation plan with a time estimate. Additionally, to be assigned an issue, you must have previously contributed to the project. You can still work on an issue and submit a PR without being assigned.
  2. Submit work: Create a pull request including /claim #239 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to spaceandtimelabs/sxt-proof-of-sql!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @varshith257 Oct 9, 2024, 1:41:34 PM #246
varshith257 commented 6 days ago

/attempt #239

Implementation Plan:

To set up the coverage report in the CI pipeline, I am thinking of the following steps:

algora-pbc[bot] commented 6 days ago

💡 @varshith257 submitted a pull request that claims the bounty. You can visit your bounty board to reward.

JayWhite2357 commented 6 days ago

/attempt #239

Implementation Plan:

To set up the coverage report in the CI pipeline, I am thinking of the following steps:

* [ ]   I plan to use llvm as the coverage tool for this setup. It's widely used for Rust projects and provides good integration for CI environments.

* [ ]  I will also update the existing CI pipeline by adding a new job that runs tests with coverage. I will also ensure cargo-tarpaulin is installed and coverage reports will be generated.

* [ ]  We can  integrate Codecov as the coverage reporting tool. Once the coverage report is generated, it will be uploaded to Codecov for detailed insights and visualization.

Sounds reasonable. Here's a few concerns (partially related to your PR). I'll add these to the original issue as clarification.

JayWhite2357 commented 5 days ago

Follow up issues

@varshith257 feel free to create these issues based on our conversations

github-actions[bot] commented 5 days ago

:tada: This issue has been resolved in version 0.30.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

varshith257 commented 4 days ago

@JayWhite2357 Okay! I will create issues for the above.

I think the bounty need to be approved on algora dashboard still it shows pending