File tree Expand file tree Collapse file tree 7 files changed +178
-65
lines changed
Expand file tree Collapse file tree 7 files changed +178
-65
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Mutations
2+ on : push
3+ jobs :
4+ infection :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v2
8+ - uses : shivammathur/setup-php@v2
9+ with :
10+ php-version : ' 8.0'
11+ tools : composer:v2
12+ coverage : pcov
13+ - uses : actions/cache@v2
14+ with :
15+ path : ' **/vendor'
16+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
17+ restore-keys : |
18+ ${{ runner.os }}-composer-
19+ - uses : php-actions/composer@v5
20+ with :
21+ args : --prefer-dist
22+ php_version : 8.0
23+
24+ - name : Infection
25+ run : |
26+ wget -q https://github.com/infection/infection/releases/download/0.20.0/infection.phar
27+ wget -q https://github.com/infection/infection/releases/download/0.20.0/infection.phar.asc
28+ chmod +x infection.phar
29+ ./infection.phar
30+
31+ - name : Store infection log
32+ uses : actions/upload-artifact@v2
33+ with :
34+ path : infection.log
Original file line number Diff line number Diff line change 1+ name : PHPStan level 5
2+ on : push
3+ jobs :
4+ phpstan :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v2
8+ - uses : actions/cache@v2
9+ with :
10+ path : ' **/vendor'
11+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
12+ restore-keys : |
13+ ${{ runner.os }}-composer-
14+ - uses : php-actions/composer@v5
15+ with :
16+ args : --prefer-dist
17+ php_version : 8.0
18+ - name : PHPStan
19+ uses : php-actions/phpstan@v2
20+ with :
21+ path : src/
22+ level : 5
23+ php_version : 8.0
Original file line number Diff line number Diff line change 1+ name : PHPStan level 7
2+ on : push
3+ jobs :
4+ phpstan :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v2
8+ - uses : actions/cache@v2
9+ with :
10+ path : ' **/vendor'
11+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
12+ restore-keys : |
13+ ${{ runner.os }}-composer-
14+ - uses : php-actions/composer@v5
15+ with :
16+ args : --prefer-dist
17+ php_version : 8.0
18+ - name : PHPStan
19+ uses : php-actions/phpstan@v2
20+ with :
21+ path : src/
22+ level : 7
23+ php_version : 8.0
Original file line number Diff line number Diff line change 1+ name : PHPStan level 8
2+ on : push
3+ jobs :
4+ phpstan :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v2
8+ - uses : actions/cache@v2
9+ with :
10+ path : ' **/vendor'
11+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
12+ restore-keys : |
13+ ${{ runner.os }}-composer-
14+ - uses : php-actions/composer@v5
15+ with :
16+ args : --prefer-dist
17+ php_version : 8.0
18+ - name : PHPStan
19+ uses : php-actions/phpstan@v2
20+ with :
21+ path : src/
22+ level : 8
23+ php_version : 8.0
Original file line number Diff line number Diff line change 1+ name : Quality (PHPStan level 4)
2+ on : push
3+ jobs :
4+ cs-fixer :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v2
8+ - name : Cs-Fixer
9+ run : |
10+ wget -q https://cs.symfony.com/download/php-cs-fixer-v2.phar -O php-cs-fixer
11+ chmod a+x php-cs-fixer
12+ PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
13+
14+ phpunit :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v2
18+ - uses : shivammathur/setup-php@v2
19+ with :
20+ php-version : ' 8.0'
21+ tools : composer:v2
22+ coverage : pcov
23+ - uses : actions/cache@v2
24+ with :
25+ path : ' **/vendor'
26+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
27+ restore-keys : |
28+ ${{ runner.os }}-composer-
29+ - uses : php-actions/composer@v5
30+ with :
31+ args : --prefer-dist
32+ php_version : 8.0
33+ - name : Run tests & generate Coverage
34+ run : bin/phpunit --configuration=phpunit.xml tests --coverage-html var/coverage --whitelist=src
35+ - name : Store coverage files
36+ uses : actions/upload-artifact@v2
37+ with :
38+ path : var/coverage
39+
40+ phpstan :
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v2
44+ - uses : actions/cache@v2
45+ with :
46+ path : ' **/vendor'
47+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
48+ restore-keys : |
49+ ${{ runner.os }}-composer-
50+ - uses : php-actions/composer@v5
51+ with :
52+ args : --prefer-dist
53+ php_version : 8.0
54+ - name : PHPStan
55+ uses : php-actions/phpstan@v2
56+ with :
57+ path : src/
58+ level : 4
59+ php_version : 8.0
Original file line number Diff line number Diff line change 1- PHPUnit extension for Middleware
1+ Extensions for PHPUnit
22===
33
4+ This package brings assertions for the pipeline and satellite components,
5+ aimed at providing tests infrastructure for Extract-Transform-Load pattern.
6+
7+
8+ [ ![ Quality] ( https://github.com/php-etl/phpunit-extension/actions/workflows/quality.yaml/badge.svg )] ( https://github.com/php-etl/phpunit-extension/actions/workflows/quality.yaml )
9+ [ ![ PHPStan level 5] ( https://github.com/php-etl/phpunit-extension/actions/workflows/phpstan-5.yaml/badge.svg )] ( https://github.com/php-etl/phpunit-extension/actions/workflows/phpstan-5.yaml )
10+ [ ![ PHPStan level 7] ( https://github.com/php-etl/phpunit-extension/actions/workflows/phpstan-7.yaml/badge.svg )] ( https://github.com/php-etl/phpunit-extension/actions/workflows/phpstan-7.yaml )
11+ [ ![ PHPStan level 8] ( https://github.com/php-etl/phpunit-extension/actions/workflows/phpstan-8.yaml/badge.svg )] ( https://github.com/php-etl/phpunit-extension/actions/workflows/phpstan-8.yaml )
12+ ![ PHP] ( https://img.shields.io/packagist/php-v/php-etl/phpunit-extension )
13+
14+ Documentation
15+ ---
16+
17+ [ See full Documentation] ( https://php-etl.github.io/documentation )
18+
You can’t perform that action at this time.
0 commit comments