Skip to content

chore: add minimum threshold of 95% for coverage#222

Merged
italvi merged 13 commits intomainfrom
italvi-patch-1
Aug 8, 2024
Merged

chore: add minimum threshold of 95% for coverage#222
italvi merged 13 commits intomainfrom
italvi-patch-1

Conversation

@italvi
Copy link
Copy Markdown
Collaborator

@italvi italvi commented Jul 11, 2024

As we observed a decline in test coverage, I added the flag --fail-under, so that we keep at least a coverage of 95%. Please note that even though the coverage comment shows 94%, we still have a coverage of 95%, seems like a rounding issue. You can see that the step is successful in https://github.com/Festo-se/cyclonedx-editor-validator/actions/runs/10297281414/job/28500202625

Edit: After the merge of #216 the coverage really dropped to 94%, hence the failure now 😞 Merge of #157 raised the coverage over 95%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 11, 2024

Coverage

Coverage Report •
FileStmtsMissCoverMissing
TOTAL16887195% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
349 2 💤 0 ❌ 0 🔥 10.616s ⏱️

@italvi italvi marked this pull request as draft July 11, 2024 08:10
@italvi italvi marked this pull request as ready for review August 8, 2024 06:53
@italvi italvi changed the title chore: add minimum threshold for coverage chore: add minimum threshold of 95% for coverage Aug 8, 2024
@italvi italvi requested a review from mmarseu August 8, 2024 09:46
@italvi italvi requested a review from CBeck-96 August 8, 2024 14:33
@italvi italvi merged commit f0fd3e0 into main Aug 8, 2024
@italvi italvi deleted the italvi-patch-1 branch August 27, 2024 07:17
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.

2 participants