Add more rules to Rector #151
Workflow file for this run
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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
name: Mutation Tests | |
jobs: | |
mutation-tests: | |
name: Mutation Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
coverage: xdebug | |
tools: composer | |
- name: Install dependencies | |
run: composer install --prefer-dist | |
- name: Run mutation tests | |
env: | |
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} | |
run: ./vendor/bin/infection --show-mutations --threads=max --min-msi=75 --min-covered-msi=75 |