Skip to content

Commit

Permalink
Update test runs to reflect Laravel version
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglasdc3 committed Aug 4, 2023
1 parent b657eb0 commit 121a341
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Run Tests - Current.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.1, 8.0]
php: [8.1, 8.2]
laravel: [10.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 7.*
testbench: 8.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/Run Tests - Older.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,20 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4]
laravel: [7.*, 8.*]
testbench: ['*']
dependency-version: [prefer-lowest, prefer-stable]
include:
- php: 8.0
laravel: "10.*"
- php: 8.0
laravel: "9.*"
- php: 8.1
laravel: "9.*"
- php: 8.1
laravel: "9.*"
- php: 7.4
laravel: "7.*"
- php: 7.4
laravel: "8.*"

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand All @@ -29,7 +39,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:*" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down

0 comments on commit 121a341

Please sign in to comment.