Goal
Implement automatic unit testing and code compilation every time a PR is opened to the main branch to improve the quality and stability of the project.
Technical steps
- Create a GitHub Actions workflow triggered for PR.
- The workflow should:
- Build the code.
- Run unit tests.
- Block the merge in case of errors.