Skip to content

Commit

Permalink
GH Actions: explicitly set code coverage to none
Browse files Browse the repository at this point in the history
As no code coverage is being recorded for these builds, it is good practice to explicitly set `coverage: none` in `setup-php`.
This fixes a warning on PHP 5.3 stating that Xdebug is on.
  • Loading branch information
jrfnl committed Aug 8, 2021
1 parent 76d27d0 commit e386675
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
extensions: mbstring, intl
ini-values: post_max_size=256M, max_execution_time=180
tools: psalm, phpunit:${{ matrix.phpunit-versions }}
coverage: none

- name: Install dependencies
run: composer self-update --1; composer install
Expand Down Expand Up @@ -50,6 +51,7 @@ jobs:
extensions: mbstring, intl, sodium
ini-values: post_max_size=256M, max_execution_time=180
tools: psalm, phpunit:${{ matrix.phpunit-versions }}
coverage: none

- name: Install dependencies
run: composer install
Expand Down Expand Up @@ -82,6 +84,7 @@ jobs:
extensions: mbstring, intl, sodium
ini-values: post_max_size=256M, max_execution_time=180
tools: psalm, phpunit:${{ matrix.phpunit-versions }}
coverage: none

- name: Install dependencies
run: composer install
Expand Down

0 comments on commit e386675

Please sign in to comment.