generated from mimmi20/template
-
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.
- Loading branch information
Showing
3 changed files
with
5 additions
and
55 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 |
---|---|---|
|
@@ -437,7 +437,7 @@ jobs: | |
extensions: "${{ env.PHP_EXTENSIONS }}" | ||
ini-values: "${{ env.PHP_INI_VALUES }}" | ||
coverage: "${{ matrix.coverage-drivers }}" | ||
tools: "${{ env.TOOLS }}, infection" | ||
tools: "${{ env.TOOLS }}, infection:0.26.6" | ||
|
||
- name: "Update dependencies with composer" | ||
uses: "ramsey/composer-install@v1" | ||
|
@@ -452,61 +452,11 @@ jobs: | |
run: "vendor/bin/phpunit -c phpunit.xml --verbose --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml" | ||
|
||
- name: "Upload coverage to Codecov" | ||
uses: "codecov/codecov-action@v3.0.0" | ||
uses: "codecov/codecov-action@v3.1.0" | ||
with: | ||
file: ".build/coverage/clover.xml" | ||
flags: "phpunit,php-${{ matrix.php-version }},${{ matrix.coverage-drivers }},${{ matrix.php-version }},${{ matrix.operating-system }}" | ||
verbose: false | ||
|
||
- name: "Run mutation tests with infection/infection" | ||
run: "infection -s --min-covered-msi=93 --min-msi=90 --coverage=.build/coverage --logger-github" | ||
|
||
roave-backwards-compatibility-check: | ||
name: "Check for Backward Compatibility breaks" | ||
|
||
needs: "lint" | ||
|
||
runs-on: "${{ matrix.operating-system }}" | ||
|
||
continue-on-error: false | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
matrix: | ||
operating-system: | ||
- "ubuntu-20.04" | ||
|
||
php-version: | ||
- "8.1" | ||
|
||
dependencies: | ||
- "highest" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v3" | ||
with: | ||
# Disabling shallow clone is recommended for improving relevancy of reporting | ||
fetch-depth: 0 | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/[email protected]" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
extensions: "${{ env.PHP_EXTENSIONS }}" | ||
ini-values: "${{ env.PHP_INI_VALUES }}" | ||
coverage: "none" | ||
tools: "${{ env.TOOLS }}" | ||
|
||
- name: "Require Roave/BackwardCompatibilityCheck" | ||
run: "composer require --no-update --no-interaction --prefer-dist --prefer-stable --dev \"roave/backward-compatibility-check\"" | ||
|
||
- name: "Update dependencies with composer" | ||
uses: "ramsey/composer-install@v1" | ||
with: | ||
dependency-versions: "${{ matrix.dependencies }}" | ||
composer-options: "${{ env.COMPOSER_OPTIONS }}" | ||
|
||
- name: "Check for BC breaks" | ||
run: "vendor/bin/roave-backward-compatibility-check --format=github-actions" |
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