From 69f59b0c3b50e19c9a029c0652d66aaf0f20325e Mon Sep 17 00:00:00 2001 From: Rougin Gutib Date: Thu, 16 Nov 2023 22:12:42 +0800 Subject: [PATCH] Add forward compatibility for illuminate packages --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11360a3..b36397e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,42 @@ jobs: if: ${{ matrix.php-versions == '5.4' }} run: composer require illuminate/database:"~4.1|~5.0" illuminate/events:"~4.1|~5.0" symfony/yaml --no-plugins --dev + - name: Install Composer packages for PHP 5.6 + if: ${{ matrix.php-versions == '5.6' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + + - name: Install Composer packages for PHP 7.0 + if: ${{ matrix.php-versions == '7.0' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + + - name: Install Composer packages for PHP 7.1 + if: ${{ matrix.php-versions == '7.1' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + + - name: Install Composer packages for PHP 7.2 + if: ${{ matrix.php-versions == '7.2' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + + - name: Install Composer packages for PHP 7.3 + if: ${{ matrix.php-versions == '7.3' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + + - name: Install Composer packages for PHP 7.4 + if: ${{ matrix.php-versions == '7.4' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + + - name: Install Composer packages for PHP 8.0 + if: ${{ matrix.php-versions == '8.0' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + + - name: Install Composer packages for PHP 8.1 + if: ${{ matrix.php-versions == '8.1' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + + - name: Install Composer packages for PHP 8.2 + if: ${{ matrix.php-versions == '8.2' }} + run: composer require illuminate/database illuminate/events --no-plugins --dev + - name: Run test suite run: vendor/bin/phpunit --coverage-clover=coverage.clover