Skip to content

Commit

Permalink
Merge pull request #7 from wallabag/prefer-lowest
Browse files Browse the repository at this point in the history
Prefer lowest tests
  • Loading branch information
yguedidi authored Dec 23, 2023
2 parents 0dce6ed + 2165653 commit efa765b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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 install --optimize-autoloader --no-interaction
run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }}

- run: make tests
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@
"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",
"phpspec/phpspec": "~6.0|~7.0",
"mikey179/vfsstream": "^1.6.7",
"phpspec/phpspec": "^6.1.1|^7.0",

"behat/behat": "~3.0",

Expand Down

0 comments on commit efa765b

Please sign in to comment.