From 444b39af087b468368c97c9181f84f11bc52f00b Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 4 Apr 2024 08:54:49 +0200 Subject: [PATCH] [TASK] Use the development PHP INI on CI (#1207) This allows us to see (and fail on) more PHP warnings and notices. Fixes #1197 --- .github/workflows/ci.yml | 4 ++++ .github/workflows/codecoverage.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bb3c9b..d5c4403 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php-version }}" + ini-file: development coverage: none tools: composer:v2 - name: "Show the Composer configuration" @@ -47,6 +48,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php-version }}" + ini-file: development coverage: none tools: composer:v2 - name: "Show Composer version" @@ -105,6 +107,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php-version }}" + ini-file: development coverage: none tools: composer:v2 - name: "Show Composer version" @@ -203,6 +206,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php-version }}" + ini-file: development tools: composer:v2 extensions: mysqli coverage: none diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml index 04d485b..d0b503f 100644 --- a/.github/workflows/codecoverage.yml +++ b/.github/workflows/codecoverage.yml @@ -26,6 +26,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php-version }}" + ini-file: development tools: composer:v2, phive extensions: mysqli coverage: pcov