Skip to content

Commit 0fce37a

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

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,16 @@ jobs:
6767
strategy:
6868
fail-fast: false
6969
matrix:
70-
php-version: ['8.1', '8.3', '8.4']
7170
include:
7271
- php-version: '8.1'
7372
dependency-version: 'lowest'
7473
- php-version: '8.3'
7574
dependency-version: 'highest'
7675
- php-version: '8.4'
7776
dependency-version: 'highest'
77+
- php-version: '8.4'
78+
dependency-version: 'highest'
79+
minimum-stability: 'dev'
7880
component: ${{ fromJson(needs.tests-php-components.outputs.components )}}
7981
exclude:
8082
- component: Map # does not support PHP 8.1
@@ -104,6 +106,11 @@ jobs:
104106
run: php .github/build-packages.php
105107
working-directory: ${{ github.workspace }}
106108

109+
- name: Configure ${{ matrix.minimum-stability }} stability
110+
if: ${{ matrix.minimum-stability }}
111+
run: composer config minimum-stability ${{ matrix.minimum-stability }}
112+
working-directory: "src/${{ matrix.component }}"
113+
107114
- name: Install ${{ matrix.component }} packages
108115
uses: ramsey/composer-install@v3
109116
with:

0 commit comments

Comments
 (0)