Skip to content

Commit 56f838e

Browse files
committed
revert back to custom CI config
1 parent 9d3618a commit 56f838e

1 file changed

Lines changed: 36 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,42 @@ permissions:
1414

1515
jobs:
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

0 commit comments

Comments
 (0)