File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100100 run : vendor/bin/phan --allow-polyfill-parser
101101 - name : Run tests with coverage
102102 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
103+ run : php vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-cobertura=cobertura.xml -- log-junit=junit.xml
104104 - name : Upload coverage to Codecov
105105 if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
106106 uses : codecov/codecov-action@v5
@@ -116,7 +116,9 @@ jobs:
116116 uses : qltysh/qlty-action/coverage@v1
117117 with :
118118 token : ${{ secrets.QLTY_COVERAGE_TOKEN }}
119- files : coverage.xml
119+ files : cobertura.xml
120+ strip-prefix : ' /home/runner/work/mo4-coding-standard'
121+ add-prefix : ' MO4/Sniffs/'
120122 env :
121123 QLTY_COVERAGE_TOKEN : ${{ secrets.QLTY_COVERAGE_TOKEN }}
122124
You can’t perform that action at this time.
0 commit comments