run tests on stable versions

This commit is contained in:
Khoubza Younes
2020-12-16 08:58:28 +01:00
parent 57922aedd4
commit bfd3ff05be
18 changed files with 65 additions and 119 deletions
+2 -5
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*]
dependency-version:
# - prefer-lowest
- prefer-stable
os:
- ubuntu-latest
# - macos-latest
@@ -96,7 +93,7 @@ jobs:
php: 5.4
phpunit: 4.8.*
name: ${{ matrix.os }} - L${{ matrix.laravel }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: ${{ matrix.os }} - L${{ matrix.laravel }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -119,7 +116,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+3 -6
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- laravel: 8.*
testbench: 6.*
@@ -92,7 +89,7 @@ jobs:
php: 5.4
phpunit: 4.8.*
name: L${{ matrix.laravel }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: L${{ matrix.laravel }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -114,8 +111,8 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
php: [ 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, 5.6, 5.5, 5.4 ]
dependency-version:
# - prefer-lowest
- prefer-stable
name: php ${{ matrix.php }} - ${{ matrix.dependency-version }}
@@ -37,18 +34,18 @@ jobs:
- name: Require phpunit 4.8 for php <= 5.6
if: matrix.php <= 5.6
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
run: composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
- name: Require phpunit 6 for php >= 7.0
if: matrix.php >= 7.0
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:6.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:6.*" --no-interaction --no-update
- name: Require phpunit 9 for php >= 7.3
if: matrix.php >= 7.3
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:9.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:9.*" --no-interaction --no-update
- name: Install dependencies
run: COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
run: composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
symfony: [5.2.*, 5.1.*, 5.0.*, 4.4.*, 4.3.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.8.*, 2.7.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- symfony: 5.2.*
php: 7.2
@@ -77,7 +74,7 @@ jobs:
php: 5.3
phpunit: 4.8.36
name: S${{ matrix.symfony }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: S${{ matrix.symfony }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -98,9 +95,9 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer config extra.symfony.require "${{ matrix.symfony }}"
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
composer config extra.symfony.require "${{ matrix.symfony }}"
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+3 -6
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- laravel: 8.*
testbench: 6.*
@@ -92,7 +89,7 @@ jobs:
php: 5.4
phpunit: 4.8.*
name: L${{ matrix.laravel }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: L${{ matrix.laravel }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -114,8 +111,8 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
php: [7.4, 7.3, 7.2, 7.1, 7.0, 5.6, 5.5, 5.4]
dependency-version:
# - prefer-lowest
- prefer-stable
name: php ${{ matrix.php }} - ${{ matrix.dependency-version }}
@@ -37,18 +34,18 @@ jobs:
- name: Require phpunit 4.8 for php <= 5.6
if: matrix.php <= 5.6
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
run: composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
- name: Require phpunit 6 for php >= 7.0
if: matrix.php >= 7.0
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:6.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:6.*" --no-interaction --no-update
- name: Require phpunit 9 for php >= 7.3
if: matrix.php >= 7.3
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:9.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:9.*" --no-interaction --no-update
- name: Install dependencies
run: COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
run: composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
symfony: [5.2.*, 5.1.*, 5.0.*, 4.4.*, 4.3.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.8.*, 2.7.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- symfony: 5.2.*
php: 7.2
@@ -77,7 +74,7 @@ jobs:
php: 5.3
phpunit: 4.8.36
name: S${{ matrix.symfony }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: S${{ matrix.symfony }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -98,9 +95,9 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer config extra.symfony.require "${{ matrix.symfony }}"
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
composer config extra.symfony.require "${{ matrix.symfony }}"
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+3 -6
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- laravel: 8.*
testbench: 6.*
@@ -92,7 +89,7 @@ jobs:
php: 5.4
phpunit: 4.8.*
name: L${{ matrix.laravel }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: L${{ matrix.laravel }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -114,8 +111,8 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
php: [ 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, 5.6, 5.5, 5.4 ]
dependency-version:
# - prefer-lowest
- prefer-stable
name: php ${{ matrix.php }} - ${{ matrix.dependency-version }}
steps:
@@ -36,18 +33,18 @@ jobs:
- name: Require phpunit 4.8 for php <= 5.6
if: matrix.php <= 5.6
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
run: composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
- name: Require phpunit 6 for php >= 7.0
if: matrix.php >= 7.0
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:6.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:6.*" --no-interaction --no-update
- name: Require phpunit 9 for php >= 7.3
if: matrix.php >= 7.3
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:9.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:9.*" --no-interaction --no-update
- name: Install dependencies
run: COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
run: composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
symfony: [5.2.*, 5.1.*, 5.0.*, 4.4.*, 4.3.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.8.*, 2.7.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- symfony: 5.2.*
php: 7.2
@@ -77,7 +74,7 @@ jobs:
php: 5.3
phpunit: 4.8.36
name: S${{ matrix.symfony }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: S${{ matrix.symfony }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -98,9 +95,9 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer config extra.symfony.require "${{ matrix.symfony }}"
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
composer config extra.symfony.require "${{ matrix.symfony }}"
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
php: [ 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, 5.6, 5.5, 5.4 ]
dependency-version:
# - prefer-lowest
- prefer-stable
name: php ${{ matrix.php }} - ${{ matrix.dependency-version }}
@@ -37,18 +34,18 @@ jobs:
- name: Require phpunit 4.8 for php <= 5.6
if: matrix.php <= 5.6
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
run: composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
- name: Require phpunit 6 for php >= 7.0
if: matrix.php >= 7.0
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:6.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:6.*" --no-interaction --no-update
- name: Require phpunit 9 for php >= 7.3
if: matrix.php >= 7.3
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:9.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:9.*" --no-interaction --no-update
- name: Install dependencies
run: COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
run: composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+3 -6
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- laravel: 8.*
testbench: 6.*
@@ -92,7 +89,7 @@ jobs:
php: 5.4
phpunit: 4.8.*
name: L${{ matrix.laravel }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: L${{ matrix.laravel }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -114,8 +111,8 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
php: [ 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, 5.6, 5.5, 5.4 ]
dependency-version:
# - prefer-lowest
- prefer-stable
name: php ${{ matrix.php }} - ${{ matrix.dependency-version }}
@@ -37,18 +34,18 @@ jobs:
- name: Require phpunit 4.8 for php <= 5.6
if: matrix.php <= 5.6
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
run: composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
- name: Require phpunit 6 for php >= 7.0
if: matrix.php >= 7.0
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:6.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:6.*" --no-interaction --no-update
- name: Require phpunit 9 for php >= 7.3
if: matrix.php >= 7.3
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:9.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:9.*" --no-interaction --no-update
- name: Install dependencies
run: COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
run: composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
symfony: [5.2.*, 5.1.*, 5.0.*, 4.4.*, 4.3.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.8.*, 2.7.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- symfony: 5.2.*
php: 7.2
@@ -77,7 +74,7 @@ jobs:
php: 5.3
phpunit: 4.8.36
name: S${{ matrix.symfony }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: S${{ matrix.symfony }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -98,9 +95,9 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer config extra.symfony.require "${{ matrix.symfony }}"
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
composer config extra.symfony.require "${{ matrix.symfony }}"
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
symfony: [5.2.*, 5.1.*, 5.0.*, 4.4.*, 4.3.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.8.*, 2.7.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- symfony: 5.2.*
php: 7.2
@@ -77,7 +74,7 @@ jobs:
php: 5.3
phpunit: 4.8.36
name: S${{ matrix.symfony }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: S${{ matrix.symfony }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -98,9 +95,9 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer config extra.symfony.require "${{ matrix.symfony }}"
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
composer config extra.symfony.require "${{ matrix.symfony }}"
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+3 -6
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- laravel: 8.*
testbench: 6.*
@@ -92,7 +89,7 @@ jobs:
php: 5.4
phpunit: 4.8.*
name: L${{ matrix.laravel }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: L${{ matrix.laravel }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -114,8 +111,8 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
php: [ 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, 5.6, 5.5, 5.4 ]
dependency-version:
# - prefer-lowest
- prefer-stable
name: php ${{ matrix.php }} - ${{ matrix.dependency-version }}
@@ -37,18 +34,18 @@ jobs:
- name: Require phpunit 4.8 for php <= 5.6
if: matrix.php <= 5.6
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
run: composer require "phpunit/phpunit:4.8.36" --no-interaction --no-update
- name: Require phpunit 6 for php >= 7.0
if: matrix.php >= 7.0
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:6.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:6.*" --no-interaction --no-update
- name: Require phpunit 9 for php >= 7.3
if: matrix.php >= 7.3
run: COMPOSER_MEMORY_LIMIT=-1 composer require "phpunit/phpunit:9.*" --no-interaction --no-update
run: composer require "phpunit/phpunit:9.*" --no-interaction --no-update
- name: Install dependencies
run: COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
run: composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
+4 -7
View File
@@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
symfony: [5.2.*, 5.1.*, 5.0.*, 4.4.*, 4.3.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.8.*, 2.7.*]
dependency-version:
# - prefer-lowest
- prefer-stable
include:
- symfony: 5.2.*
php: 7.2
@@ -77,7 +74,7 @@ jobs:
php: 5.3
phpunit: 4.8.36
name: S${{ matrix.symfony }} - P${{ matrix.php }} - ${{ matrix.dependency-version }}
name: S${{ matrix.symfony }} - P${{ matrix.php }}
steps:
- name: Checkout code
@@ -98,9 +95,9 @@ jobs:
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
COMPOSER_MEMORY_LIMIT=-1 composer config extra.symfony.require "${{ matrix.symfony }}"
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
composer config extra.symfony.require "${{ matrix.symfony }}"
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit