Skip to content

Commit 02e13b1

Browse files
committed
adjust CI config
1 parent efde851 commit 02e13b1

1 file changed

Lines changed: 2 additions & 37 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -15,43 +15,8 @@ permissions:
1515

1616
jobs:
1717
testsuite:
18-
runs-on: ubuntu-22.04
19-
strategy:
20-
fail-fast: false
21-
matrix:
22-
php-version: ['8.1', '8.2', '8.3']
23-
dependencies: ['highest']
24-
include:
25-
- php-version: '8.1'
26-
dependencies: 'lowest'
27-
- php-version: '8.4'
28-
dependencies: 'highest'
29-
composer-options: '--ignore-platform-req=php'
30-
31-
steps:
32-
- uses: actions/checkout@v3
33-
34-
- name: Setup PHP
35-
uses: shivammathur/setup-php@v2
36-
with:
37-
php-version: ${{ matrix.php-version }}
38-
extensions: mbstring, intl
39-
ini-values: zend.assertions=1
40-
coverage: pcov
41-
42-
- name: Composer install
43-
uses: ramsey/composer-install@v2
44-
with:
45-
dependency-versions: ${{ matrix.dependencies }}
46-
composer-options: ${{ matrix.composer-options }}
47-
48-
- name: Run PHPUnit
49-
run: |
50-
if [[ ${{ matrix.php-version }} == '8.1' && ${{ matrix.dependencies }} == 'highest' ]]; then
51-
vendor/bin/phpunit --display-deprecations --display-warnings --display-incomplete --display-skipped
52-
else
53-
vendor/bin/phpunit --display-deprecations --display-warnings
54-
fi
18+
uses: cakephp/.github/.github/workflows/testsuite-without-db.yml@5.x
19+
secrets: inherit
5520

5621
cs-stan:
5722
uses: cakephp/.github/.github/workflows/cs-stan.yml@5.x

0 commit comments

Comments
 (0)