File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 6767 - name : Run unit tests
6868 if : ${{ matrix.php != '8.2' || matrix.redis != '7' }}
6969 run : vendor/bin/phpunit
70+
71+ - name : Create coverage report
72+ if : ${{ matrix.php == '8.2' && matrix.redis == '7' && github.repository == 'kodedphp/cache-simple' }}
73+ run : vendor/bin/phpunit --coverage-clover build/clover.xml
74+
75+ - name : Send coverage
76+ uses : sudo-bot/action-scrutinizer@latest
77+ if : ${{ matrix.php == '8.2' && matrix.redis == '7' && github.repository == 'kodedphp/cache-simple' }}
78+ with :
79+ cli-args : " --format=php-clover build/clover.xml --revision=${{ github.sha }}"
Original file line number Diff line number Diff line change 1+ build :
2+ nodes :
3+ analysis :
4+ tests :
5+ stop_on_failure : true
6+ override :
7+ - php-scrutinizer-run
8+ environment :
9+ php :
10+ version : ' 8.1.2'
11+
12+ before_commands :
13+ - ' composer update -o --prefer-source --no-interaction'
14+
15+ filter :
16+ excluded_paths :
17+ - ' bench/*'
18+ - ' build/*'
19+ - ' tests/*'
20+ - ' vendor/*'
21+
22+ tools :
23+ external_code_coverage : true
24+ php_analyzer : true
25+ php_code_sniffer : true
You can’t perform that action at this time.
0 commit comments