Continuous integration

As an example, this extension provides several ways to perform the code quality checks and tests in a CI pipeline. You can copy the appropriate configuration depending on which Git hosting service and CI platform you want to use.

Table of Contents:

GitHub Actions

This extension has two code-checking workflows for GitHub Actions:

  • one that uses the local tools: This is the workflow you most probably would want to use: This workflow uses the development tools installed via Composer and PHIVE and calls them using the provided Composer scripts. Use this workflow if you want to run the code quality checks locally as well as in GitHub Actions.

  • one that completely relies on predefined actions: This workflow does not need the development tools to be installed locally. Use this workflow if you only want to run the code quality checks in GitHub Actions, but not locally.

GitLab CI

This extension also provides configuration for GitLab CI.