Skip to content

Commit

Permalink
ci: temporary exclude laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
czernika committed Mar 2, 2024
1 parent c27f26d commit 0b02194
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
paths:
- "**/*.php"
- ".github/workflows/tests.yml"
pull_request:

jobs:
Expand All @@ -16,25 +17,26 @@ jobs:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
laravel: [10.*]
testbench: [8.*]
# laravel: [10.*, 11.*]
# orchid: [14.*]
# include:
# - laravel: 11.*
# - testbench: ^9.0
# - laravel: 10.*
# - testbench: ^8.0
# exclude:
# - laravel: 11.*
# php: 8.1
laravel: [10.*, 11.*]
include:
- laravel: 10.*
testbench: 8.*
orchid: 14.*
# tmp
exclude:
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.2
- laravel: 11.*
php: 8.3

env:
DB_DATABASE: testing
DB_USERNAME: root
DB_PASSWORD: password

name: PHP ${{ matrix.php }} | Laravel - ${{ matrix.laravel }}
name: PHP ${{ matrix.php }} | Laravel - ${{ matrix.laravel }} | Orchid - ${{ matrix.orchid }}

services:
mysql:
Expand Down Expand Up @@ -64,13 +66,13 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-orchid-${{ matrix.orchid }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "orchid/platform:${{ matrix.orchid }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: Running tests
Expand Down

0 comments on commit 0b02194

Please sign in to comment.