22
33on :
44 push :
5- branches : [3.x, 4.x, 5.x, 6.x]
5+ branches : [6.x]
66 pull_request :
77 branches : ['*']
88 workflow_dispatch :
@@ -13,10 +13,10 @@ jobs:
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- php-version : ['8.2 ', '8.3 ', '8.4 ']
16+ php-version : ['8.3 ', '8.4 ', '8.5 ']
1717 prefer-lowest : ['']
1818 include :
19- - php-version : ' 8.2 '
19+ - php-version : ' 8.3 '
2020 prefer-lowest : ' prefer-lowest'
2121
2222 steps :
2727 with :
2828 php-version : ${{ matrix.php-version }}
2929 extensions : mbstring, intl
30- coverage : none
30+ coverage : pcov
3131
3232 - name : Get composer cache directory
3333 id : composer-cache
@@ -52,20 +52,20 @@ jobs:
5252 fi
5353
5454 - name : Setup problem matchers for PHPUnit
55- if : matrix.php-version == '8.2 '
55+ if : matrix.php-version == '8.3 '
5656 run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
5757
5858 - name : Run PHPUnit
5959 run : |
60- if [[ "${{ matrix.php-version }}" == "8.2 " && "${{ matrix.prefer-lowest }}" != "prefer-lowest" ]]; then
60+ if [[ "${{ matrix.php-version }}" == "8.3 " && "${{ matrix.prefer-lowest }}" != "prefer-lowest" ]]; then
6161 export CODECOVERAGE=1
6262 vendor/bin/phpunit --display-incomplete --display-skipped --coverage-clover=coverage.xml
6363 else
6464 vendor/bin/phpunit
6565 fi
6666
6767 - name : Submit code coverage
68- if : matrix.php-version == '8.2 ' && matrix.prefer-lowest != 'prefer-lowest'
68+ if : matrix.php-version == '8.3 ' && matrix.prefer-lowest != 'prefer-lowest'
6969 uses : codecov/codecov-action@v5
7070
7171 cs-stan :
7878 - name : Setup PHP
7979 uses : shivammathur/setup-php@v2
8080 with :
81- php-version : ' 8.2 '
81+ php-version : ' 8.3 '
8282 extensions : mbstring, intl
8383 tools : cs2pr
8484 coverage : none
0 commit comments