From 0395d04653abde85e18ee8a05287387d23b3b30f Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 6 Feb 2024 11:37:53 +0100 Subject: [PATCH 1/2] Add a CI job running with dev dependencies --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e4c6c4..052dc11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,14 @@ jobs: fail-fast: false matrix: php: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + min_stability: [''] + name_suffix: [''] + include: + - php: '8.3' + min_stability: 'dev' + name_suffix: ' (dev deps)' - name: PHP ${{ matrix.php }} + name: PHP ${{ matrix.php }}${{ matrix.name_suffix }} steps: - name: Checkout code @@ -49,6 +55,10 @@ jobs: ini-values: zend.assertions=1, error_reporting=-1, display_errors=On coverage: xdebug + - name: Configure stability + if: "matrix.min_stability != ''" + run: composer config minimum-stability "${{ matrix.min_stability }}" + - name: Install Composer dependencies run: composer install --ansi --no-interaction --no-progress From b92f76416587b486ca07c2174222fc92bc033d73 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 6 Feb 2024 11:46:59 +0100 Subject: [PATCH 2/2] Remove the usage of prefer-stable in our CI jobs --- composer.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/composer.json b/composer.json index 83a8818..dc48261 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,6 @@ "email": "stof@notk.org" } ], - "minimum-stability": "dev", - "prefer-stable": true, "require": { "php": "^7.3 || ^8", "phpspec/prophecy": "^1.18",