To maintain code quality and ensure that new features and bug fixes do not introduce regressions, we need to enforce unit tests for every pull request. Each pull request should include sufficient unit tests covering new and modified code.
Task
Configure the repository to run unit tests automatically for every PR.
Ensure that the PR cannot be merged until all tests pass.
Steps to Implement
Create a GitHub Actions workflow that runs on every pull request.
The workflow should include a step to run the ./gradlew test command.
Set up the workflow to block merging if the tests fail.
Description
To maintain code quality and ensure that new features and bug fixes do not introduce regressions, we need to enforce unit tests for every pull request. Each pull request should include sufficient unit tests covering new and modified code.
Task
Steps to Implement
./gradlew test
command.Additional Information
Good First Issue
This is a great issue for new contributors to get familiar with GitHub Actions and Gradle.