1313 strategy :
1414 fail-fast : false
1515 matrix :
16- php : ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
17- setup : ['lowest', 'stable', 'next']
16+ php : ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
17+ setup : ['stable']
18+ include :
19+ - php : ' 7.0'
20+ setup : ' lowest'
21+ - php : ' 7.0'
22+ setup : ' next'
23+ - php : ' 8.5'
24+ setup : ' lowest'
25+ - php : ' 8.5'
26+ setup : ' next'
1827
1928 name : PHP ${{ matrix.php }} - ${{ matrix.setup }}
2029
4251 ${{ matrix.php >= 8.1 && 'composer require --no-update phpunit/phpunit:^8.5.14 --no-interaction' || '' }}
4352 composer update --prefer-dist ${{ matrix.setup != 'next' && format('--prefer-{0}', matrix.setup) || '' }} --no-progress --no-suggest ${{ matrix.php >= 8.1 && '--ignore-platform-req=php' || '' }}
4453
45- - name : Code Climate Test Reporter Preparation
46- if : matrix.php == '7.4' && matrix.setup == 'stable'
47- run : |
48- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter;
49- chmod +x ./cc-test-reporter;
50- ./cc-test-reporter before-build;
51- env :
52- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
53-
5454 - name : Run test suite
5555 run : |
5656 if [[ ${MATRIX_CONFIG} == "7.4-stable" ]]; then
@@ -62,11 +62,14 @@ jobs:
6262 MATRIX_CONFIG : ${{ matrix.php }}-${{ matrix.setup }}
6363
6464 - name : Code Climate Test Reporter
65- if : ${{ matrix.php == '7.4' && matrix.setup == 'stable' && env.CC_TEST_REPORTER_ID != '' }}
66- run : ./cc-test-reporter after-build --exit-code 0
67- env :
68- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
65+ if : ${{ matrix.php == '7.4' && matrix.setup == 'stable' }}
66+ uses : qltysh/qlty-action/coverage@v2
67+ with :
68+ token : ${{ secrets.QLTY_COVERAGE_TOKEN }}
69+ files : clover.xml
6970
7071 - name : Coverage
7172 if : matrix.php == '7.4' && matrix.setup == 'stable'
72- run : bash <(curl -s https://codecov.io/bash)
73+ uses : codecov/codecov-action@v5
74+ with :
75+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments