Skip to content

Commit 32224c4

Browse files
committed
minor #2594 [CI] Run tests on minimum-stability=dev too (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- [CI] Run tests on minimum-stability=dev too | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> UX packages are a bit "on the edge" (especially TwigComponent and LiveComponent) and it could be a good idea to ensure they continue to works with nighly dependencies. It will help us to fix compatibility issues ASAP. Commits ------- 4079310 [CI] Run tests on minimum-stability=dev too
2 parents a282ed5 + 4079310 commit 32224c4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
fail-fast: false
6969
matrix:
7070
php-version: ['8.1', '8.3', '8.4']
71+
minimum-stability: ['stable', 'dev']
7172
include:
7273
- php-version: '8.1'
7374
dependency-version: 'lowest'
@@ -77,6 +78,10 @@ jobs:
7778
dependency-version: 'highest'
7879
component: ${{ fromJson(needs.tests-php-components.outputs.components )}}
7980
exclude:
81+
- php-version: '8.1'
82+
minimum-stability: 'dev'
83+
- php-version: '8.3'
84+
minimum-stability: 'dev'
8085
- component: Map # does not support PHP 8.1
8186
php-version: '8.1'
8287
- component: Map/src/Bridge/Google # does not support PHP 8.1
@@ -104,6 +109,11 @@ jobs:
104109
run: php .github/build-packages.php
105110
working-directory: ${{ github.workspace }}
106111

112+
- name: Configure ${{ matrix.minimum-stability }} stability
113+
if: ${{ matrix.minimum-stability }}
114+
run: composer config minimum-stability ${{ matrix.minimum-stability }}
115+
working-directory: "src/${{ matrix.component }}"
116+
107117
- name: Install ${{ matrix.component }} packages
108118
uses: ramsey/composer-install@v3
109119
with:

0 commit comments

Comments
 (0)