Skip to content

Commit 7330aa7

Browse files
committed
Update ci config
1 parent 2074a08 commit 7330aa7

1 file changed

Lines changed: 7 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ 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
db-type: [sqlite, mysql, pgsql]
1818
prefer-lowest: ['']
1919

@@ -59,22 +59,22 @@ jobs:
5959
fi
6060
6161
- name: Setup problem matchers for PHPUnit
62-
if: matrix.php-version == '8.2' && matrix.db-type == 'mysql'
62+
if: matrix.php-version == '8.3' && matrix.db-type == 'mysql'
6363
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
6464

6565
- name: Run PHPUnit
6666
run: |
6767
if [[ ${{ matrix.db-type }} == 'sqlite' ]]; then export DB_URL='sqlite:///:memory:'; fi
6868
if [[ ${{ matrix.db-type }} == 'mysql' ]]; then export DB_URL='mysql://root:root@127.0.0.1/cakephp?encoding=utf8'; fi
6969
if [[ ${{ matrix.db-type }} == 'pgsql' ]]; then export DB_URL='postgres://postgres:postgres@127.0.0.1/postgres'; fi
70-
if [[ ${{ matrix.php-version }} == '8.2' ]]; then
70+
if [[ ${{ matrix.php-version }} == '8.3' ]]; then
7171
export CODECOVERAGE=1 && vendor/bin/phpunit --display-deprecations --display-incomplete --display-skipped --coverage-clover=coverage.xml
7272
else
7373
vendor/bin/phpunit
7474
fi
7575
7676
- name: Submit code coverage
77-
if: matrix.php-version == '8.2'
77+
if: matrix.php-version == '8.3'
7878
uses: codecov/codecov-action@v5
7979

8080
cs-stan:
@@ -87,7 +87,7 @@ jobs:
8787
- name: Setup PHP
8888
uses: shivammathur/setup-php@v2
8989
with:
90-
php-version: '8.2'
90+
php-version: '8.3'
9191
extensions: mbstring, intl, apcu
9292
coverage: none
9393

@@ -105,19 +105,6 @@ jobs:
105105
path: ${{ steps.composer-cache.outputs.dir }}
106106
key: ${{ runner.os }}-composer-${{ steps.key-date.outputs.date }}-${{ hashFiles('composer.json') }}-${{ matrix.prefer-lowest }}
107107

108-
- name: composer install
109-
run: composer stan-setup
110-
111-
- name: Run PHP CodeSniffer
112-
run: composer cs-check
113-
continue-on-error: true
114-
115-
- name: Run psalm
116-
if: success() || failure()
117-
run: vendor/bin/psalm.phar --output-format=github
118-
continue-on-error: true
119-
120-
- name: Run phpstan
121-
if: success() || failure()
122-
run: composer stan
108+
- name: Run All Gates
109+
run: composer check
123110
continue-on-error: true

0 commit comments

Comments
 (0)