File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 82
82
run : composer update ${{ matrix.dependencies_level }} --prefer-dist --no-interaction --no-progress
83
83
- name : Check composer.json
84
84
run : composer normalize --dry-run
85
- - name : Run tests with coverage
86
- if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
87
- run : php vendor/bin/phpunit --coverage-clover=coverage.xml
88
85
- name : Run tests
89
86
run : vendor/bin/phpunit
90
87
- name : Run integration tests
@@ -101,10 +98,18 @@ jobs:
101
98
- name : Run phan with polyfill
102
99
if : ${{ matrix.os == 'windows-latest' }}
103
100
run : vendor/bin/phan --allow-polyfill-parser
101
+ - name : Run tests with coverage
102
+ 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
104
- name : Upload coverage to Codecov
105
+ if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
105
106
uses : codecov/codecov-action@v5
106
107
with :
107
- verbose : true
108
+ token : ${{ secrets.CODECOV_TOKEN }}
109
+ - name : Upload test results to Codecov
110
+ if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
111
+ uses : codecov/test-results-action@v1
112
+ with :
108
113
token : ${{ secrets.CODECOV_TOKEN }}
109
114
110
115
slack-notify :
You can’t perform that action at this time.
0 commit comments