Skip to content

Commit

Permalink
Merge pull request #75 from netglue/dependabot/composer/webmozart/ass…
Browse files Browse the repository at this point in the history
…ert-1.11.0

Bump webmozart/assert from 1.10.0 to 1.11.0
  • Loading branch information
gsteel committed Jun 6, 2022
2 parents 689ce8e + 8db55f1 commit 3dd1fef
Show file tree
Hide file tree
Showing 8 changed files with 370 additions and 313 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- main

env:
default_php: "8.1"
php_extensions: ""

jobs:
matrix:
name: Generate job matrix
Expand All @@ -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/composer-install@2.1.0"
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/composer-install@2.1.0"
with:
dependency-versions: "highest"

- name: "Run mutation tests with Xdebug and infection/infection"
run: "vendor/bin/infection --configuration=infection-custom.json"
89 changes: 0 additions & 89 deletions .github/workflows/dependency-checks.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/infection.yml

This file was deleted.

7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@
"vimeo/psalm": "^4.10"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true,
"ergebnis/composer-normalize": true
}
},
"extra": {
"composer-normalize": {
Expand Down
Loading

0 comments on commit 3dd1fef

Please sign in to comment.