-
-
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.
Update dependency versions in composer.json (#52)
* Update dependency versions in composer.json The versions of 'infection/infection', 'rector/rector', and 'phpunit/phpunit' have been updated. This is important to ensure that our project stays up-to-date with the latest improvements and security patches. * Update phpstan-baseline.neon with new error definitions The phpstan-baseline.neon file has been updated to ignore additional specific error types associated with handling null|int parameters in several methods. These changes help maintain the code checking process without raising false positives. * Create standalone mutation testing workflow Moved Mutation Testing from the 'integrate' workflow to a separate workflow file 'infection.yml'. This decision was made to ensure a better separation of concerns within our workflows and to improve efficiency by reducing the runtime of the 'integrate' workflow.
- Loading branch information
Showing
4 changed files
with
87 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | ||
|
||
name: "Integrate" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*.x" | ||
|
||
jobs: | ||
mutation_testing: | ||
name: "5️⃣ Mutation Testing" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "Set up PHP" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "8.3" | ||
extensions: "json, mbstring, openssl, sqlite3, curl, uuid" | ||
|
||
- name: "Checkout code" | ||
uses: "actions/checkout@v3" | ||
|
||
- name: "Fetch Git base reference" | ||
run: "git fetch --depth=1 origin ${GITHUB_BASE_REF}" | ||
|
||
- name: "Install dependencies" | ||
uses: "ramsey/composer-install@v2" | ||
with: | ||
dependency-versions: "highest" | ||
composer-options: "--optimize-autoloader" | ||
|
||
- name: "Execute Infection" | ||
run: "make ci-mu" |
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