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 4
4
push :
5
5
schedule :
6
6
- cron : ' 30 5 1 * *'
7
+
8
+ permissions :
9
+ actions : write
10
+ contents : read
11
+ id-token : write
12
+
7
13
jobs :
8
14
style-checks :
9
15
env :
@@ -100,7 +106,7 @@ jobs:
100
106
run : vendor/bin/phan --allow-polyfill-parser
101
107
- name : Run tests with coverage
102
108
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
109
+ run : php vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-cobertura=cobertura.xml -- log-junit=junit.xml
104
110
- name : Upload coverage to Codecov
105
111
if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
106
112
uses : codecov/codecov-action@v5
@@ -115,8 +121,10 @@ jobs:
115
121
if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
116
122
uses : qltysh/qlty-action/coverage@v1
117
123
with :
118
- token : ${{ secrets.QLTY_COVERAGE_TOKEN }}
119
- files : coverage.xml
124
+ oidc : true
125
+ files : cobertura.xml
126
+ strip-prefix : ' /home/runner/work/mo4-coding-standard'
127
+ add-prefix : ' MO4/Sniffs/'
120
128
env :
121
129
QLTY_COVERAGE_TOKEN : ${{ secrets.QLTY_COVERAGE_TOKEN }}
122
130
You can’t perform that action at this time.
0 commit comments