You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should set up a basic CI pipeline that runs all unit tests on every push and pull request to ensure contributions don't break existing functionality.
Additional information
No response
The text was updated successfully, but these errors were encountered:
I propose setting up a basic Continuous Integration (CI) pipeline that automatically runs all unit tests on every push and pull request. This will help ensure that new contributions do not break existing functionality and maintain the project's stability and quality.
❓ Motivation
As this is an educational repository with many contributors, it's important to validate that any changes or additions do not introduce regressions or errors in existing algorithms. Currently, there is no automated process to verify code correctness after changes are made.
Having a CI system in place would provide:
🔍 Automated testing of all contributions
🛡️ Confidence that changes don't break existing implementations
🧪 A foundation for future improvements like code coverage or linting
💡 Suggested Implementation
We can use GitHub Actions, which is natively supported by GitHub and widely used in open-source projects.
A simple workflow could be added under .github/workflows/ci.yml with the following steps:
📦 Checkout the repository
☕ Set up JDK (e.g., Java 11 or 17)
🧪 Run unit tests using Maven or Gradle (depending on project structure)
What would you like to share?
We should set up a basic CI pipeline that runs all unit tests on every push and pull request to ensure contributions don't break existing functionality.
Additional information
No response
The text was updated successfully, but these errors were encountered: