|
25 | 25 |
|
26 | 26 | strategy: |
27 | 27 | matrix: |
28 | | - php-versions: [ '8.1', '8.3' ] |
| 28 | + php-versions: [ '8.1', '8.4' ] |
29 | 29 | coverage: [none] |
30 | 30 | fail-fast: false |
31 | 31 |
|
|
72 | 72 | cd galette-core/galette/plugins/plugin-events |
73 | 73 | ../../vendor/bin/phpcs lib/ ./*.php |
74 | 74 |
|
| 75 | + - name: CS Fixer |
| 76 | + if: matrix.php-versions == '8.1' |
| 77 | + run: | |
| 78 | + cd galette-core/galette/plugins/plugin-events |
| 79 | + ../../vendor/bin/php-cs-fixer check --show-progress=dots --verbose --diff |
| 80 | +
|
75 | 81 | - name: Twig CS |
76 | 82 | run: | |
77 | 83 | cd galette-core/galette/plugins/plugin-events |
|
82 | 88 | cd galette-core/galette/plugins/plugin-events |
83 | 89 | composer require maglnet/composer-require-checker -W |
84 | 90 | vendor/bin/composer-require-checker check --config-file=.composer-require-checker.config.json ../../composer.json |
85 | | - if: matrix.php-versions == '8.3' |
| 91 | + if: matrix.php-versions == '8.4' |
86 | 92 |
|
87 | 93 | - name: PHPStan checks |
88 | 94 | run: | |
@@ -119,16 +125,16 @@ jobs: |
119 | 125 | - { php-version: "8.1", db-image: "postgres:11", coverage: none, always: false } |
120 | 126 | - { php-version: "8.1", db-image: "postgres:16", coverage: none, always: false } |
121 | 127 | #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 } |
| 128 | + - { php-version: "8.4", db-image: "mysql:5.7", coverage: none, always: true } |
| 129 | + - { php-version: "8.4", db-image: "mysql:8.1", coverage: none, always: false } |
| 130 | + - { php-version: "8.4", db-image: "mariadb:10.4", coverage: none, always: true } |
| 131 | + - { php-version: "8.4", db-image: "mariadb:11", coverage: none, always: false } |
| 132 | + - { php-version: "8.4", db-image: "postgres:11", coverage: none, always: true } |
| 133 | + - { php-version: "8.4", db-image: "postgres:16", coverage: none, always: true } |
128 | 134 | fail-fast: false |
129 | 135 |
|
130 | 136 | env: |
131 | | - skip: ${{ matrix.always == false && (github.event_name == 'pull_request' || github.repository != 'galette/galette-events' || !(github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags'))) }} |
| 137 | + skip: ${{ matrix.always == false && (github.event_name == 'pull_request' || github.repository != 'galette/plugin-events' || !(github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags'))) }} |
132 | 138 | DB: ${{ matrix.db-image }} |
133 | 139 |
|
134 | 140 | services: |
@@ -156,7 +162,7 @@ jobs: |
156 | 162 | --health-timeout=5s |
157 | 163 | --health-retries=10 |
158 | 164 |
|
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)' || ''}} |
| 165 | + name: PHP ${{ matrix.php-version }} ${{ matrix.db-image }} ${{ (matrix.always == false && (github.event_name == 'pull_request' || github.repository != 'galette/plugin-events' || !(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)' || ''}} |
160 | 166 |
|
161 | 167 | steps: |
162 | 168 | - name: PHP |
|
0 commit comments