This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from ergebnis/fix/php7.1
Fix: Bring back support for PHP 7.1
- Loading branch information
Showing
6 changed files
with
162 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- 7.2 | ||
- 7.1 | ||
|
||
dependencies: | ||
- locked | ||
|
@@ -152,6 +152,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
|
@@ -221,7 +222,7 @@ jobs: | |
- name: "Install PHP with extensions" | ||
uses: shivammathur/[email protected] | ||
with: | ||
coverage: pcov | ||
coverage: xdebug | ||
extensions: "mbstring" | ||
php-version: ${{ matrix.php-version }} | ||
|
||
|
@@ -236,8 +237,11 @@ jobs: | |
- name: "Install locked dependencies with composer" | ||
run: composer install --no-interaction --no-progress --no-suggest | ||
|
||
- name: "Collect code coverage with pcov and phpunit/phpunit" | ||
run: vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-clover=.build/logs/clover.xml | ||
- name: "Dump Xdebug filter with phpunit/phpunit" | ||
run: vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --dump-xdebug-filter=.build/phpunit/xdebug-filter.php | ||
|
||
- name: "Collect code coverage with Xdebug and phpunit/phpunit" | ||
run: vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-clover=build/logs/clover.xml --prepend=.build/phpunit/xdebug-filter.php | ||
|
||
- name: "Send code coverage report to Codecov.io" | ||
env: | ||
|
@@ -264,7 +268,7 @@ jobs: | |
- name: "Install PHP with extensions" | ||
uses: shivammathur/[email protected] | ||
with: | ||
coverage: pcov | ||
coverage: xdebug | ||
extensions: "mbstring" | ||
php-version: ${{ matrix.php-version }} | ||
|
||
|
@@ -279,5 +283,5 @@ jobs: | |
- name: "Install locked dependencies with composer" | ||
run: composer install --no-interaction --no-progress --no-suggest | ||
|
||
- name: "Run mutation tests with pcov and infection/infection" | ||
run: vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=96 --min-msi=92 | ||
- name: "Run mutation tests with Xdebug and infection/infection" | ||
run: vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=94 --min-msi=94 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.