From 4330645801d1a52b3a013a8a0629ec16bf67fa2f Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Sun, 10 Oct 2021 21:56:35 +0200 Subject: [PATCH] Fix lowest dependencies --- .github/workflows/ci.yml | 7 +++++++ composer.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fa7c56..3df5e85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,11 @@ jobs: php-version: - "7.4" - "8.0" + deps: + - "highest" + include: + - php-version: "7.4" + deps: "lowest" services: mysql: @@ -57,6 +62,8 @@ jobs: - name: Install composer dependencies uses: "ramsey/composer-install@v1" + with: + dependency-versions: ${{ matrix.deps }} - name: Run PHPUnit run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index d828f61..3c50619 100644 --- a/composer.json +++ b/composer.json @@ -10,12 +10,12 @@ "license": "MIT", "require": { "brick/geo": "dev-master", - "doctrine/orm": "^2.0" + "doctrine/orm": "^2.8" }, "require-dev": { "doctrine/cache": "^1.11", "doctrine/data-fixtures": "^1.0", - "phpunit/phpunit": "^8.0 || ^9.0", + "phpunit/phpunit": "^9.0", "php-coveralls/php-coveralls": "^2.0", "vimeo/psalm": "4.3.1" },