-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (24 loc) · 799 Bytes
/
Copy pathreview.yml
File metadata and controls
33 lines (24 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Autoreview
on:
pull_request:
jobs:
fight-mutants:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.5]
name: Mutation Testing Code Review Annotations ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
- name: Install dependencies
run: composer update --prefer-dist --no-suggest --no-interaction --no-scripts
- name: Run Infection for added and modified files only
run: |
git fetch --depth=1 origin $GITHUB_BASE_REF
php vendor/bin/infection -j2 --git-diff-base=origin/$GITHUB_BASE_REF --git-diff-filter=AM --logger-github