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

Test: Add code coverage for backend #642

Merged
merged 8 commits into from
Dec 11, 2023

Conversation

drikusroor
Copy link
Contributor

@drikusroor drikusroor commented Dec 7, 2023

This PR adds

  • The coverage package, which allows us to generate code coverage reports.
  • The genbadge package, which allows us to generate code coverage badges.
  • A script to the workflow that runs the coverage command to give us an inline code coverage report.
  • A script to the workflow that runs the coverage command (only for pushes to develop and main) with the xml option. Thish allows us to generate a badge. The badge then gets pushed to a dedicated code-coverage-badges branch on Github and this badge image is then used to be displayed in the README.md on top. See also here

@drikusroor drikusroor self-assigned this Dec 7, 2023
@drikusroor drikusroor force-pushed the test/add-code-coverage-backend branch 3 times, most recently from bf87fea to b2df0cc Compare December 7, 2023 15:48
@drikusroor drikusroor force-pushed the test/add-code-coverage-backend branch from 3016fcd to b7fc721 Compare December 11, 2023 10:04
@drikusroor drikusroor merged commit 282943e into develop Dec 11, 2023
6 checks passed
@drikusroor drikusroor deleted the test/add-code-coverage-backend branch December 11, 2023 10:14
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