Skip to content

Conversation

@naman9271
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ci.yml Workflow

1 participant