From 40793106cda63efcdb94aa6f9c98a3c8c6805e54 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Sat, 22 Feb 2025 23:44:50 +0100 Subject: [PATCH] [CI] Run tests on minimum-stability=dev too --- .github/workflows/test.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d0efd220e47..1ececd75557 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -68,6 +68,7 @@ jobs: fail-fast: false matrix: php-version: ['8.1', '8.3', '8.4'] + minimum-stability: ['stable', 'dev'] include: - php-version: '8.1' dependency-version: 'lowest' @@ -77,6 +78,10 @@ jobs: dependency-version: 'highest' component: ${{ fromJson(needs.tests-php-components.outputs.components )}} exclude: + - php-version: '8.1' + minimum-stability: 'dev' + - php-version: '8.3' + minimum-stability: 'dev' - component: Map # does not support PHP 8.1 php-version: '8.1' - component: Map/src/Bridge/Google # does not support PHP 8.1 @@ -104,6 +109,11 @@ jobs: run: php .github/build-packages.php working-directory: ${{ github.workspace }} + - name: Configure ${{ matrix.minimum-stability }} stability + if: ${{ matrix.minimum-stability }} + run: composer config minimum-stability ${{ matrix.minimum-stability }} + working-directory: "src/${{ matrix.component }}" + - name: Install ${{ matrix.component }} packages uses: ramsey/composer-install@v3 with: