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 8282 run : composer update ${{ matrix.dependencies_level }} --prefer-dist --no-interaction --no-progress
8383 - name : Check composer.json
8484 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
8885 - name : Run tests
8986 run : vendor/bin/phpunit
9087 - name : Run integration tests
@@ -101,10 +98,18 @@ jobs:
10198 - name : Run phan with polyfill
10299 if : ${{ matrix.os == 'windows-latest' }}
103100 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
104104 - name : Upload coverage to Codecov
105+ if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
105106 uses : codecov/codecov-action@v5
106107 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 :
108113 token : ${{ secrets.CODECOV_TOKEN }}
109114
110115 slack-notify :
You can’t perform that action at this time.
0 commit comments