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 44 push :
55 schedule :
66 - cron : ' 30 5 1 * *'
7+
78jobs :
89 style-checks :
910 env :
@@ -100,7 +101,7 @@ jobs:
100101 run : vendor/bin/phan --allow-polyfill-parser
101102 - name : Run tests with coverage
102103 if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
103- run : php vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit=junit.xml
104+ run : php vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-cobertura=cobertura.xml -- log-junit=junit.xml
104105 - name : Upload coverage to Codecov
105106 if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
106107 uses : codecov/codecov-action@v5
@@ -116,7 +117,9 @@ jobs:
116117 uses : qltysh/qlty-action/coverage@v1
117118 with :
118119 token : ${{ secrets.QLTY_COVERAGE_TOKEN }}
119- files : coverage.xml
120+ files : cobertura.xml
121+ strip-prefix : ' /home/runner/work/mo4-coding-standard'
122+ add-prefix : ' MO4/Sniffs/'
120123 env :
121124 QLTY_COVERAGE_TOKEN : ${{ secrets.QLTY_COVERAGE_TOKEN }}
122125
You can’t perform that action at this time.
0 commit comments