chore: switch to mago #1062
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: "mutation tests" | |
on: | |
pull_request: ~ | |
push: ~ | |
jobs: | |
mutation-tests: | |
name: "mutation tests" | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
php-version: | |
- "8.4" | |
operating-system: | |
- "ubuntu-latest" | |
steps: | |
- name: "checkout" | |
uses: "actions/checkout@v4" | |
- name: "installing PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "${{ matrix.php-version }}" | |
ini-values: memory_limit=-1 | |
tools: composer:v2, cs2pr | |
extensions: bcmath, mbstring, intl, sodium, json | |
- name: "caching dependencies" | |
uses: "actions/cache@v4" | |
with: | |
path: | | |
~/.composer/cache | |
vendor | |
key: "php-${{ matrix.php-version }}" | |
restore-keys: "php-${{ matrix.php-version }}" | |
- name: "installing dependencies" | |
run: | | |
make install -j10 | |
- name: "running mutation tests" | |
run: make mutation-tests | |
env: | |
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} |