Skip to content

Commit c6a6fa4

Browse files
authored
Merge pull request #75 from cakephp/2.x-update-stan
update stan + adjust CI config
2 parents 32fbb2e + acb00c4 commit c6a6fa4

File tree

3 files changed

+9
-38
lines changed

3 files changed

+9
-38
lines changed

.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

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpstan" version="2.0.1" installed="2.0.1" location="./tools/phpstan" copy="false"/>
3+
<phar name="phpstan" version="2.1.0" installed="2.1.0" location="./tools/phpstan" copy="false"/>
44
<phar name="psalm" version="5.26.1" installed="5.26.1" location="./tools/psalm" copy="false"/>
55
</phive>

phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@
99
</testsuite>
1010
</testsuites>
1111

12+
<source>
13+
<include>
14+
<directory suffix=".php">src/</directory>
15+
</include>
16+
</source>
17+
1218
</phpunit>

0 commit comments

Comments
 (0)