Skip to content

Commit c617d35

Browse files
committed
[CI] Run tests on minimum-stability=dev too
1 parent a282ed5 commit c617d35

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,16 @@ jobs:
7171
include:
7272
- php-version: '8.1'
7373
dependency-version: 'lowest'
74+
minimum-stability: 'stable'
7475
- php-version: '8.3'
7576
dependency-version: 'highest'
77+
minimum-stability: 'stable'
7678
- php-version: '8.4'
7779
dependency-version: 'highest'
80+
minimum-stability: 'stable'
81+
- php-version: '8.4'
82+
dependency-version: 'highest'
83+
minimum-stability: 'dev'
7884
component: ${{ fromJson(needs.tests-php-components.outputs.components )}}
7985
exclude:
8086
- component: Map # does not support PHP 8.1
@@ -104,6 +110,11 @@ jobs:
104110
run: php .github/build-packages.php
105111
working-directory: ${{ github.workspace }}
106112

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

0 commit comments

Comments
 (0)