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

Check ruby test coverage before merging PRs #4136

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

unoduetre
Copy link
Contributor

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Set up automated checking of ruby test coverage by simplecov as a requirement before a PR can be merged. This can be done in two ways. Either a test can be added, which checks simplecov coverage or an additional step can be added to GitHub CI. Investigate which of those two approaches is easier to implement and implement it.

Why

We need to keep ruby code test coverage at 95% as indicated by simplecov in order to maintain the requirement of dependabot automerger.

Trello card

@unoduetre unoduetre force-pushed the 2665-check-ruby-test-coverage-before-merging-prs-2 branch from 6ed8fd7 to 33c2fa2 Compare June 28, 2024 08:16
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4136 June 28, 2024 08:17 Inactive
@unoduetre unoduetre marked this pull request as ready for review June 28, 2024 08:26
@unoduetre unoduetre merged commit 60e855b into main Jul 10, 2024
12 checks passed
@unoduetre unoduetre deleted the 2665-check-ruby-test-coverage-before-merging-prs-2 branch July 10, 2024 10:26
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