Skip to content

Commit

Permalink
Revert "ci: disable infection since it segfaults in GA (#138)"
Browse files Browse the repository at this point in the history
This reverts commit 1cd6284.
  • Loading branch information
simPod committed Mar 16, 2024
1 parent 1c9c774 commit 62cb295
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/infection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Infection

on:
pull_request:
push:
branches:
- "*.*.x"

jobs:
Infection:
runs-on: ubuntu-20.04

steps:
- name: "Checkout"
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: 8.1
coverage: "pcov"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"

- name: Run Infection
run: vendor/bin/roave-infection-static-analysis-plugin --threads=$(nproc)
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

0 comments on commit 62cb295

Please sign in to comment.