<!--
title: Keep CI configurations minimal
domain: app-frameworks
topic: CI/CD
language: Yaml
source: laravel/framework
updated: 2024-11-25
url: https://awesomereviewers.com/reviewers/framework-keep-ci-configurations-minimal/
-->

When configuring CI workflows, include only the extensions, tools, and settings that are necessary for the specific tests being run. Avoid adding unnecessary PHP extensions (such as `xml` or `xdebug`) to workflow configurations unless they're explicitly required. Similarly, keep coverage disabled (`coverage: none`) in CI pipelines by default to improve performance.

Example:
```yaml
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 8.3
    extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr
    coverage: none
```

This approach keeps CI workflows efficient, reduces execution time, and avoids potential issues from unnecessary dependencies.
