chore(deps): update dependency infection/infection to ^0.28.0 #271
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
name: Run CI | |
on: push | |
jobs: | |
build: | |
name: CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ['8.1', '8.2'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Install dependencies | |
run: composer install --prefer-dist --classmap-authoritative | |
- name: Check code style | |
run: composer run style-check -- -q --report=checkstyle | ./vendor/bin/cs2pr | |
- name: Run unit tests | |
run: composer run test-unit | |
- name: Run mutation tests | |
run: | | |
composer run test-unit -- --coverage-xml cov --log-junit=cov/result.junit.xml | |
composer run test-mutation -- --coverage=cov | |
env: | |
XDEBUG_MODE: coverage | |
- name: Check dependency usage | |
run: composer run composer-check |