Skip to content

Commit 946afa8

Browse files
committed
Add mutation tests to GitHub workflows
- Updated `php.yml` and `downgrade-php74.yml` to include mutation testing steps using `composer run-script mutate`.
1 parent b75fe69 commit 946afa8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/downgrade-php74.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
- name: Run test coverage
6262
run: composer run-script coverage
6363

64+
- name: Run mutation tests
65+
run: composer run-script mutate
66+
6467
downgrade-and-tag:
6568
name: Downgrade to PHP 7.4 and Tag v1.x
6669
needs: verify-php82

.github/workflows/php.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,7 @@ jobs:
5151
run: composer run-script type
5252

5353
- name: Run test coverage
54-
run: composer run-script coverage
54+
run: composer run-script coverage
55+
56+
- name: Run mutation tests
57+
run: composer run-script mutate

0 commit comments

Comments
 (0)