OpenML
OpenML copied to clipboard
Added ci workflow
Fixes: #1248
This pull request introduces a new GitHub Actions workflow for continuous integration, automating code validation and build checks for all major branches and pull requests. The workflow ensures that PHP and JavaScript code quality is maintained, Docker images can be built successfully, and a summary of test results is provided for every run.
Continuous Integration Workflow Enhancements:
- Added a comprehensive
.github/workflows/ci.ymlworkflow that runs on pushes and pull requests todevelop,master, andmainbranches, as well as manual triggers.
Automated Code Quality and Build Checks:
- Introduced jobs for PHP syntax checking across multiple PHP versions, JavaScript linting using ESLint, and Docker image build validation to catch issues early in the development process.
- Added a code quality analysis job for PHP code, including placeholders for code style checks (e.g., PHP_CodeSniffer or PHP-CS-Fixer).
Test Result Reporting and Workflow Management:
- Implemented a final
test-summaryjob that aggregates and reports the status of all CI jobs in the GitHub summary, and fails the workflow if any critical checks do not pass. - Enabled workflow concurrency control to automatically cancel in-progress runs for the same pull request or branch, preventing duplicate CI runs.
Hi @joaquinvanschoren , @janvanrijn please review when you get a chance - thanks