Skip to content

Commit a5e28e4

Browse files
committed
Use latest PHP version for CI; fix skipped
1 parent 2464c3f commit a5e28e4

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci-linux.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
php-versions: [ '8.1', '8.3' ]
28+
php-versions: [ '8.1', '8.4' ]
2929
coverage: [none]
3030
fail-fast: false
3131

@@ -82,7 +82,7 @@ jobs:
8282
cd galette-core/galette/plugins/plugin-maps
8383
composer require maglnet/composer-require-checker -W
8484
vendor/bin/composer-require-checker check --config-file=.composer-require-checker.config.json ../../composer.json
85-
if: matrix.php-versions == '8.3'
85+
if: matrix.php-versions == '8.4'
8686

8787
- name: PHPStan checks
8888
run: |
@@ -119,16 +119,16 @@ jobs:
119119
- { php-version: "8.1", db-image: "postgres:11", coverage: none, always: false }
120120
- { php-version: "8.1", db-image: "postgres:16", coverage: none, always: false }
121121
#higher stable php version
122-
- { php-version: "8.3", db-image: "mysql:5.7", coverage: none, always: true }
123-
- { php-version: "8.3", db-image: "mysql:8.1", coverage: none, always: false }
124-
- { php-version: "8.3", db-image: "mariadb:10.4", coverage: none, always: true }
125-
- { php-version: "8.3", db-image: "mariadb:11", coverage: none, always: false }
126-
- { php-version: "8.3", db-image: "postgres:11", coverage: none, always: true }
127-
- { php-version: "8.3", db-image: "postgres:16", coverage: none, always: true }
122+
- { php-version: "8.4", db-image: "mysql:5.7", coverage: none, always: true }
123+
- { php-version: "8.4", db-image: "mysql:8.1", coverage: none, always: false }
124+
- { php-version: "8.4", db-image: "mariadb:10.4", coverage: none, always: true }
125+
- { php-version: "8.4", db-image: "mariadb:11", coverage: none, always: false }
126+
- { php-version: "8.4", db-image: "postgres:11", coverage: none, always: true }
127+
- { php-version: "8.4", db-image: "postgres:16", coverage: none, always: true }
128128
fail-fast: false
129129

130130
env:
131-
skip: ${{ matrix.always == false && (github.event_name == 'pull_request' || github.repository != 'galette/galette-maps' || !(github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags'))) }}
131+
skip: ${{ matrix.always == false && (github.event_name == 'pull_request' || github.repository != 'galette/plugin-maps' || !(github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags'))) }}
132132
DB: ${{ matrix.db-image }}
133133

134134
services:
@@ -156,7 +156,7 @@ jobs:
156156
--health-timeout=5s
157157
--health-retries=10
158158
159-
name: PHP ${{ matrix.php-version }} ${{ matrix.db-image }} ${{ (matrix.always == false && (github.event_name == 'pull_request' || github.repository != 'galette/galette' || !(github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags')))) && ' (skipped)' || matrix.coverage == 'xdebug' && ' (with coverage)' || ''}}
159+
name: PHP ${{ matrix.php-version }} ${{ matrix.db-image }} ${{ (matrix.always == false && (github.event_name == 'pull_request' || github.repository != 'galette/plugin-maps' || !(github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags')))) && ' (skipped)' || matrix.coverage == 'xdebug' && ' (with coverage)' || ''}}
160160

161161
steps:
162162
- name: PHP

0 commit comments

Comments
 (0)