Skip to content

Commit

Permalink
Remove Infection for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 17, 2024
1 parent 914423b commit 713017e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 55 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/build.xml export-ignore
/infection.json5.dist export-ignore
/phpunit.xml export-ignore

*.php diff=php
31 changes: 0 additions & 31 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,37 +223,6 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

mutation-test:
name: Mutation Testing

if: github.event_name == 'pull_request'

needs:
- end-to-end-tests

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: pcov
extensions: none, ctype, curl, date, dom, json, libxml, mbstring, phar, simplexml, soap, tokenizer, xml, xmlwriter, zlib
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
tools: none

- name: Install dependencies with Composer
run: ./tools/composer install --no-ansi --no-interaction --no-progress

- name: Run mutation testing
run: |
git fetch origin $GITHUB_BASE_REF
php ./tools/infection --threads=max --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF --ignore-msi-with-no-mutations --only-covered
build-phar:
name: Build PHAR

Expand Down
1 change: 0 additions & 1 deletion .phive/phars.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
<phar name="php-cs-fixer" version="^3.53" installed="3.59.3" location="./tools/php-cs-fixer" copy="true"/>
<phar name="psalm" version="^5.23" installed="5.25.0" location="./tools/psalm" copy="true"/>
<phar name="humbug/php-scoper" version="^0.18" installed="0.18.14" location="./tools/php-scoper" copy="true"/>
<phar name="infection" version="^0.28" installed="0.28.1" location="./tools/infection" copy="true"/>
<phar name="composer" version="^2.7" installed="2.7.7" location="./tools/composer" copy="true"/>
</phive>
22 changes: 0 additions & 22 deletions infection.json5.dist

This file was deleted.

Binary file removed tools/infection
Binary file not shown.

0 comments on commit 713017e

Please sign in to comment.