File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
schedule :
6
6
- cron : ' 30 5 1 * *'
7
+
7
8
jobs :
8
9
style-checks :
9
10
env :
97
98
run : vendor/bin/phan --allow-polyfill-parser
98
99
- name : Run tests with coverage
99
100
if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
100
- run : php vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit=junit.xml
101
+ run : php vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-cobertura=cobertura.xml -- log-junit=junit.xml
101
102
- name : Upload coverage to Codecov
102
103
if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
103
104
uses : codecov/codecov-action@v5
@@ -113,7 +114,9 @@ jobs:
113
114
uses : qltysh/qlty-action/coverage@v1
114
115
with :
115
116
token : ${{ secrets.QLTY_COVERAGE_TOKEN }}
116
- files : coverage.xml
117
+ files : cobertura.xml
118
+ strip-prefix : ' /home/runner/work/mo4-coding-standard'
119
+ add-prefix : ' MO4/Sniffs/'
117
120
env :
118
121
QLTY_COVERAGE_TOKEN : ${{ secrets.QLTY_COVERAGE_TOKEN }}
119
122
You can’t perform that action at this time.
0 commit comments