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

Fix issues in coverage-cop action #11

Merged
merged 2 commits into from
Feb 15, 2021

Conversation

aggarw13
Copy link
Contributor

This PR fixes typos in the branch coverage checking logic of the coverage-cop action. Also, it renames the input parameters to be readable.

yanjos-dev
yanjos-dev previously approved these changes Feb 15, 2021
@@ -93,8 +93,8 @@ jobs:
uses: ./coverage-cop
with:
path: ./build/coverage.info
branch-min-coverage: 100
line-min-coverage: 99
branch-coverage-min: 70

Choose a reason for hiding this comment

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

Why is 70 the right value here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No specific reason for choosing 70. Any value is works as long as the test job for the action uses different values for the line and branch coverages to ensure to make it visible in logs that the action is correctly using the input parameters.

@aggarw13 aggarw13 merged commit 7702e5b into FreeRTOS:main Feb 15, 2021
@aggarw13 aggarw13 deleted the fix/coverage-cop-action branch February 16, 2021 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants