Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
Add mutation testing
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Dec 16, 2019
1 parent 61a1ce0 commit 3ec83fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ branches:
- "Tests (7.4, highest)"
- "Code Coverage (7.4)"
- "Mutation Tests (7.4)"
- "Mutation Tests (7.4)"
strict: true

required_pull_request_reviews: null
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: bash <(curl -s https://codecov.io/bash)

mutation-tests:
name: "Mutation Tests"

Expand Down Expand Up @@ -212,9 +212,9 @@ jobs:
key: php${{ matrix.php-version }}-composer-
restore-keys: |
php${{ matrix.php-version }}-composer-
- name: "Install locked dependencies with composer"
run: composer install --no-interaction --no-progress --no-suggest

- name: "Run mutation tests with pcov and infection/infection"
run: vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=93 --min-msi=83
run: vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=25 --min-msi=18

0 comments on commit 3ec83fd

Please sign in to comment.