File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 44 push :
55 schedule :
66 - cron : ' 30 5 1 * *'
7+
8+ permissions :
9+ actions : write
10+ contents : read
11+ id-token : write
12+
713jobs :
814 style-checks :
915 env :
97103 run : vendor/bin/phan --allow-polyfill-parser
98104 - name : Run tests with coverage
99105 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
106+ run : php vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-cobertura=cobertura.xml -- log-junit=junit.xml
101107 - name : Upload coverage to Codecov
102108 if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
103109 uses : codecov/codecov-action@v5
@@ -112,8 +118,10 @@ jobs:
112118 if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
113119 uses : qltysh/qlty-action/coverage@v1
114120 with :
115- token : ${{ secrets.QLTY_COVERAGE_TOKEN }}
116- files : coverage.xml
121+ oidc : true
122+ files : cobertura.xml
123+ strip-prefix : ' /home/runner/work/mo4-coding-standard'
124+ add-prefix : ' MO4/Sniffs/'
117125 env :
118126 QLTY_COVERAGE_TOKEN : ${{ secrets.QLTY_COVERAGE_TOKEN }}
119127
You can’t perform that action at this time.
0 commit comments