In order to ensure the stability and reliability of our codebase, it is essential to have automated unit tests running for each push and pull request. Currently, our repository lacks a GitHub Actions workflow to run unit tests, and this needs to be addressed to maintain code quality and catch issues early.
Suggested Solution:
Create a new workflow file in .github/workflows/ directory.
Filename: run-unit-tests.yml
Configure the workflow to be triggered on every push and pull_request event to the main branch.
Define job steps:
Checkout the repository.
Setup the environment/java runtime.
Install dependencies.
Run the unit tests.
In order to ensure the stability and reliability of our codebase, it is essential to have automated unit tests running for each push and pull request. Currently, our repository lacks a GitHub Actions workflow to run unit tests, and this needs to be addressed to maintain code quality and catch issues early.
Suggested Solution: