Skip to content

Commit

Permalink
Put dev versions in env variables in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SenseException committed Feb 6, 2025
1 parent 1107c4a commit b36735d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,24 @@ on:
- "push"
- "pull_request"

env:
SYMFONY_DEV: '7.3.*'
PHP_DEV: '8.5'

jobs:
tests:

runs-on: "ubuntu-latest"
continue-on-error: "${{ matrix.php-versions == '8.5' || matrix.symfony == '7.2.*' }}"
continue-on-error: "${{ matrix.php-versions == env.PHP_DEV || matrix.symfony == env.SYMFONY_DEV }}"
strategy:
matrix:
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.2', '8.3', '8.4', '8.5']
symfony:
- '6.4.*'
- '7.0.*'
- '7.1.*'
- '7.2.*'
- '7.3.*'

steps:
- uses: "actions/checkout@v4"
Expand All @@ -37,7 +42,7 @@ jobs:
extensions: "intl, xdebug"

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

- name: "Install dependencies"
Expand Down

0 comments on commit b36735d

Please sign in to comment.