From edd5a37b766740d018ece9fb37ab5dece6de60c5 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sat, 17 Feb 2024 12:29:57 +0300 Subject: [PATCH] Fix mutation testing (#63) --- .github/workflows/mutation.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 99e7730..b10eda9 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -9,6 +9,8 @@ on: - 'psalm.xml' push: + branches: + - master paths-ignore: - 'docs/**' - 'README.md' @@ -30,11 +32,8 @@ jobs: strategy: matrix: - os: - - ubuntu-latest - - php: - - 8.1 + os: ['ubuntu-latest'] + php: ['8.3'] steps: - name: Install service memcached @@ -70,6 +69,6 @@ jobs: - name: Run infection run: | - vendor/bin/roave-infection-static-analysis-plugin -j2 --ignore-msi-with-no-mutations --only-covered + vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ignore-msi-with-no-mutations --only-covered env: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}