generated from gsteel/php-template-project
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #75 from netglue/dependabot/composer/webmozart/ass…
…ert-1.11.0 Bump webmozart/assert from 1.10.0 to 1.11.0
- Loading branch information
Showing
8 changed files
with
370 additions
and
313 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,10 @@ on: | |
branches: | ||
- main | ||
|
||
env: | ||
default_php: "8.1" | ||
php_extensions: "" | ||
|
||
jobs: | ||
matrix: | ||
name: Generate job matrix | ||
|
@@ -31,3 +35,52 @@ jobs: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
job: ${{ matrix.job }} | ||
|
||
composer-require-checker: | ||
name: "Check for missing dependencies" | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
|
||
- name: "Install PHP" | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ env.default_php }} | ||
ini-values: memory_limit=-1 | ||
extensions: ${{ env.php_extensions }} | ||
|
||
- uses: "ramsey/[email protected]" | ||
with: | ||
dependency-versions: "highest" | ||
|
||
- name: "Set global composer bin-dir" | ||
run: composer global config bin-dir /usr/local/bin | ||
|
||
- name: "Install require checker" | ||
run: composer global require maglnet/composer-require-checker | ||
|
||
- name: "Check" | ||
run: /usr/local/bin/composer-require-checker check | ||
|
||
mutation-tests: | ||
name: "Mutation Tests" | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v3" | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
coverage: "xdebug" | ||
php-version: ${{ env.default_php }} | ||
|
||
- uses: "ramsey/[email protected]" | ||
with: | ||
dependency-versions: "highest" | ||
|
||
- name: "Run mutation tests with Xdebug and infection/infection" | ||
run: "vendor/bin/infection --configuration=infection-custom.json" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.