File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,42 @@ permissions:
1414
1515jobs :
1616 testsuite :
17- uses : cakephp/.github/.github/workflows/testsuite-without-db.yml@5.x
18- secrets : inherit
17+ runs-on : ubuntu-22.04
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ php-version : ['8.1']
22+ dependencies : ['highest']
23+ include :
24+ - php-version : ' 8.1'
25+ dependencies : ' lowest'
26+ - php-version : ' 8.2'
27+ dependencies : ' highest'
28+
29+ steps :
30+ - uses : actions/checkout@v3
31+
32+ - name : Setup PHP
33+ uses : shivammathur/setup-php@v2
34+ with :
35+ php-version : ${{ matrix.php-version }}
36+ extensions : mbstring, intl
37+ ini-values : zend.assertions=1
38+ coverage : pcov
39+
40+ - name : Composer install
41+ uses : ramsey/composer-install@v2
42+ with :
43+ dependency-versions : ${{ matrix.dependencies }}
44+ composer-options : ${{ matrix.composer-options }}
45+
46+ - name : Run PHPUnit
47+ run : |
48+ if [[ ${{ matrix.php-version }} == '8.1' && ${{ matrix.dependencies }} == 'highest' ]]; then
49+ vendor/bin/phpunit --display-incomplete --display-skipped
50+ else
51+ vendor/bin/phpunit
52+ fi
1953
2054 cs-stan :
2155 uses : cakephp/.github/.github/workflows/cs-stan.yml@5.x
You can’t perform that action at this time.
0 commit comments