diff --git a/.github/workflows/test-mutations.yml b/.github/workflows/test-mutations.yml index 4216d4162..1f63d9193 100644 --- a/.github/workflows/test-mutations.yml +++ b/.github/workflows/test-mutations.yml @@ -77,4 +77,6 @@ jobs: run: "composer install --no-interaction --no-progress --no-suggest" - name: "Mutation Tests" - run: "composer test:mutation -- --logger-github=false" + run: | + git fetch origin $GITHUB_BASE_REF + composer test:mutation -- --logger-github=false --threads=max --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF --ignore-msi-with-no-mutations diff --git a/inflection.json5.dist b/inflection.json5.dist new file mode 100644 index 000000000..c234afb51 --- /dev/null +++ b/inflection.json5.dist @@ -0,0 +1,12 @@ +{ + "$schema": "vendor/infection/infection/resources/schema.json", + "testFrameworkOptions": "--testsuite=unit", + "source": { + "directories": [ + "src" + ] + }, + "mutators": { + "@default": true, + } +}