OpenML icon indicating copy to clipboard operation
OpenML copied to clipboard

Added ci workflow

Open naman9271 opened this issue 1 month ago • 1 comments

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.yml workflow that runs on pushes and pull requests to develop, master, and main branches, 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-summary job 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.

naman9271 avatar Nov 15 '25 20:11 naman9271

Hi @joaquinvanschoren , @janvanrijn please review when you get a chance - thanks

naman9271 avatar Nov 15 '25 20:11 naman9271