Skip to content

Commit

Permalink
Merge pull request #61 from phpspec/stof-patch-1
Browse files Browse the repository at this point in the history
Add a CI job running with dev dependencies
  • Loading branch information
stof authored Feb 6, 2024
2 parents 29f8114 + b92f764 commit 217b19e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"email": "stof@notk.org"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.3 || ^8",
"phpspec/prophecy": "^1.18",
Expand Down

0 comments on commit 217b19e

Please sign in to comment.