Skip to content

Commit

Permalink
[TASK] Use the development PHP INI on CI
Browse files Browse the repository at this point in the history
This allows us to see (and fail on) more warnings and notices.

Fixes #514
  • Loading branch information
oliverklee committed Apr 15, 2024
1 parent 84a2c83 commit 206379d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,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"
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
ini-file: development
coverage: none
tools: composer:v2, phive
- name: "Show Composer version"
Expand Down Expand Up @@ -91,6 +93,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"
Expand Down Expand Up @@ -118,6 +121,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
ini-file: development
coverage: none
tools: composer:v2
ini-values: error_reporting=E_ALL
Expand Down Expand Up @@ -217,6 +221,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
ini-file: development
tools: composer:v2
extensions: mysqli
coverage: none
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codecoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
ini-file: development
coverage: pcov
extensions: mysqli
ini-values: pcov.directory=Classes
Expand Down

0 comments on commit 206379d

Please sign in to comment.