Skip to content

Commit

Permalink
Add prefer lowest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yguedidi committed Dec 23, 2023
1 parent ba39d6b commit b19c00b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
strategy:
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
composer-flags: ['', '--prefer-lowest']
fail-fast: true
steps:
- uses: actions/checkout@v4
Expand All @@ -35,6 +36,6 @@ jobs:
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer update --prefer-dist --no-interaction
run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }}

- run: make tests
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@
"php": ">=7.2",

"hoa/ruler": "~2.0",
"hoa/consistency": "^1.17.05",
"symfony/property-access": "~3.0|~4.0|~5.0"
},
"require-dev": {
"ext-json": "*",

"mikey179/vfsstream": "~1.4",
"mikey179/vfsstream": "^1.6.7",
"phpspec/phpspec": "~6.0|~7.0",

"behat/behat": "~3.0",
Expand Down

0 comments on commit b19c00b

Please sign in to comment.