Skip to content

Commit

Permalink
Restore job with --prefer-lowest
Browse files Browse the repository at this point in the history
It is useful to catch misconfigured dependency constraints. It was
removed in 721ceb5.
  • Loading branch information
greg0ire committed Oct 7, 2023
1 parent e71868f commit 4743f53
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
- "pdo_sqlite"
proxy:
- "common"
deps:
- "highest"
include:
- php-version: "8.2"
dbal-version: "3@dev"
Expand All @@ -55,6 +57,10 @@ jobs:
dbal-version: "default"
proxy: "lazy-ghost"
extension: "pdo_sqlite"
- php-version: "8.1"
dbal-version: "default"
deps: "lowest"
extension: "pdo_sqlite"

steps:
- name: "Checkout"
Expand All @@ -78,6 +84,7 @@ jobs:
uses: "ramsey/composer-install@v2"
with:
composer-options: "--ignore-platform-req=php+"
dependency-versions: "${{ matrix.deps }}"

- name: "Run PHPUnit"
run: "vendor/bin/phpunit -c ci/github/phpunit/${{ matrix.extension }}.xml --coverage-clover=coverage-no-cache.xml"
Expand Down Expand Up @@ -314,7 +321,6 @@ jobs:
name: "${{ github.job }}-${{ matrix.mysql-version }}-${{ matrix.extension }}-${{ matrix.php-version }}-${{ matrix.dbal-version }}-coverage"
path: "coverage*.xml"


upload_coverage:
name: "Upload coverage to Codecov"
runs-on: "ubuntu-22.04"
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
"doctrine/instantiator": "^1.3 || ^2",
"doctrine/lexer": "^2.1 || ^3",
"doctrine/persistence": "^3.1.1",
"psr/cache": "^1 || ^2 || ^3",
"psr/cache": "^3",
"symfony/console": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"doctrine/coding-standard": "^12.0",
"phpbench/phpbench": "^1.0",
"phpstan/phpstan": "1.10.35",
"phpunit/phpunit": "^10.0.14",
"phpunit/phpunit": "^10.4.0",
"psr/log": "^1 || ^2 || ^3",
"squizlabs/php_codesniffer": "3.7.2",
"symfony/cache": "^5.4 || ^6.2",
"symfony/var-exporter": "^5.4 || ^6.2",
"symfony/var-exporter": "^6.2",
"vimeo/psalm": "5.15.0"
},
"suggest": {
Expand Down

0 comments on commit 4743f53

Please # to comment.