Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable test coverage tracking #641

Merged
merged 6 commits into from
Jun 25, 2024
Merged

ci: enable test coverage tracking #641

merged 6 commits into from
Jun 25, 2024

Conversation

kayagokalp
Copy link
Member

@kayagokalp kayagokalp commented Jun 25, 2024

Enables tracking of test coverage for PRs. Generates an lcov file with branch coverage, and uses an action to actually summarize the result to post comments to PRs. It is also possible to ensure a minimum coverage amount below which CI will fail but currently it is not being used.

@fuel-service-user
Copy link
Contributor

fuel-service-user commented Jun 25, 2024

LCOV of commit 6a56672 during CI #2023

Summary coverage rate:
  lines......: 80.9% (2270 of 2805 lines)
  functions..: 43.9% (359 of 817 functions)
  branches...: 57.9% (257 of 444 branches)

Files changed coverage rate: n/a

@kayagokalp kayagokalp requested a review from a team June 25, 2024 16:15
@kayagokalp kayagokalp marked this pull request as ready for review June 25, 2024 16:15
@kayagokalp kayagokalp changed the title ci: enable coverage reports ci: enable test coverage tracking Jun 25, 2024
@kayagokalp kayagokalp enabled auto-merge (squash) June 25, 2024 16:16
Copy link
Member

@sdankel sdankel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one

@kayagokalp kayagokalp merged commit e4d7c40 into master Jun 25, 2024
17 checks passed
@kayagokalp kayagokalp deleted the kayagokalp/640 branch June 25, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants