Skip to content

Commit b36735d

Browse files
Put dev versions in env variables in test workflow
1 parent 1107c4a commit b36735d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,24 @@ on:
44
- "push"
55
- "pull_request"
66

7+
env:
8+
SYMFONY_DEV: '7.3.*'
9+
PHP_DEV: '8.5'
10+
711
jobs:
812
tests:
913

1014
runs-on: "ubuntu-latest"
11-
continue-on-error: "${{ matrix.php-versions == '8.5' || matrix.symfony == '7.2.*' }}"
15+
continue-on-error: "${{ matrix.php-versions == env.PHP_DEV || matrix.symfony == env.SYMFONY_DEV }}"
1216
strategy:
1317
matrix:
14-
php-versions: ['8.2', '8.3', '8.4']
18+
php-versions: ['8.2', '8.3', '8.4', '8.5']
1519
symfony:
1620
- '6.4.*'
1721
- '7.0.*'
1822
- '7.1.*'
1923
- '7.2.*'
24+
- '7.3.*'
2025

2126
steps:
2227
- uses: "actions/checkout@v4"
@@ -37,7 +42,7 @@ jobs:
3742
extensions: "intl, xdebug"
3843

3944
- name: "Adapt dependencies"
40-
if: ${{ matrix.symfony == '7.2.*' }}
45+
if: ${{ matrix.symfony == env.SYMFONY_DEV }}
4146
run: "composer config minimum-stability dev"
4247

4348
- name: "Install dependencies"

0 commit comments

Comments
 (0)