File tree Expand file tree Collapse file tree 4 files changed +51
-0
lines changed
Expand file tree Collapse file tree 4 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Infection
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - " master"
8+ schedule :
9+ - cron : " 0 17 * * *"
10+
11+ jobs :
12+ Infection :
13+ runs-on : ubuntu-18.04
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ - name : Install PHP
19+ uses :
shivammathur/[email protected] 20+ with :
21+ php-version : 7.4
22+ coverage : xdebug
23+ extensions : json
24+
25+ - name : Install Dependencies
26+ run : composer install --prefer-dist --no-progress --no-suggest
27+
28+ - name : Run Infection
29+ run : vendor/bin/infection --min-msi=64 --min-covered-msi=65 --log-verbosity=none -s
30+ env :
31+ INFECTION_BADGE_API_KEY : ${{ secrets.INFECTION_BADGE_API_KEY }}
Original file line number Diff line number Diff line change 55[ ![ Downloads] ( https://poser.pugx.org/simpod/graphql-utils/d/total.svg )] ( https://packagist.org/packages/simpod/graphql-utils )
66[ ![ Packagist] ( https://poser.pugx.org/simpod/graphql-utils/v/stable.svg )] ( https://packagist.org/packages/simpod/graphql-utils )
77[ ![ GitHub Issues] ( https://img.shields.io/github/issues/simPod/GraphQL-Utils.svg?style=flat-square )] ( https://github.com/simPod/GraphQL-Utils/issues )
8+ [ ![ Type Coverage] ( https://shepherd.dev/github/simPod/GraphQL-Utils/coverage.svg )] ( https://shepherd.dev/github/simPod/GraphQL-Utils )
89
910## Contents
1011- [ Installation] ( #installation )
Original file line number Diff line number Diff line change 1919 },
2020 "require-dev" : {
2121 "doctrine/coding-standard" : " ^8.1" ,
22+ "infection/infection" : " ^0.17.6" ,
2223 "phpstan/extension-installer" : " ^1.0" ,
2324 "phpstan/phpstan" : " 0.12.38" ,
2425 "phpstan/phpstan-phpunit" : " 0.12.10" ,
Original file line number Diff line number Diff line change 1+ {
2+ "bootstrap": "./tests/bootstrap.php",
3+ "timeout": 10,
4+ "source": {
5+ "directories": [
6+ "src"
7+ ]
8+ },
9+ "mutators": {
10+ "@default": true
11+ },
12+ "logs": {
13+ "badge": {
14+ "branch": "master"
15+ },
16+ "text": "infection-log.txt"
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments