Skip to content

Conversation

@tanryberdi
Copy link

  • Added script for CI for test coverage

See #22

@tanryberdi tanryberdi force-pushed the tanryberdi.issue-22 branch 2 times, most recently from 0d67d93 to 85401c5 Compare January 19, 2023 06:11
- Added script for CI for test coverage
Signed-off-by: Tanryberdi <tanryberdi@gmail.com>

See vaguecoder#22
echo "Current test coverage is below threshold. Please add more unit tests or adjust threshold to a lower value."
echo "Failed"
exit 1
fi
Copy link
Owner

Choose a reason for hiding this comment

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

Newline is missing at the end of the file.

Copy link
Owner

Choose a reason for hiding this comment

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

Also, I think sudo is not required. A reference of such tests from etcd here.

@vaguecoder
Copy link
Owner

My initial idea in achieving this is to have a single script that can be called from both make and actions as explained in #22. That way, the modifications in the future can be done in a single place. WDYT?

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.

2 participants