Skip to content

Add GitHub Action to Require Tests in Pull Requests #730

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

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Add GitHub Action to Require Tests in Pull Requests #730

merged 3 commits into from
Oct 3, 2024

Conversation

ghostwriter
Copy link
Contributor

This pull request addresses issue #729 by adding the infection/tests-checker-action GitHub Action that ensures tests are included in pull requests.

Changes Introduced:

  • .github/workflows/require-tests.yml: Added a workflow named 'Require Tests' that uses the infection/tests-checker-action to verify the presence of test files in the tests directory with a specific pattern (*Test.php).

@coveralls
Copy link

coveralls commented Oct 1, 2024

Coverage Status

coverage: 38.652%. remained the same
when pulling 0eef4bf on ghostwriter:feature/add-require-tests-action
into 1f67618 on MyIntervals:main.

Copy link
Collaborator

@oliverklee oliverklee left a comment

Choose a reason for hiding this comment

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

Thanks for contributing, @ghostwriter! 🙏 Looks generally good, but still needs a bit of polish. I've added some review comments in this regard.

Copy link
Collaborator

@oliverklee oliverklee left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you, @ghostwriter! 🙏

@oliverklee oliverklee merged commit f0a5876 into MyIntervals:main Oct 3, 2024
20 checks passed
@ghostwriter ghostwriter deleted the feature/add-require-tests-action branch October 3, 2024 14:35
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.

3 participants