Skip to content

Commit

Permalink
Update run-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
realrashid authored May 17, 2024
1 parent deea417 commit 3a42940
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Run Tests

on: ['push', 'pull_request']
on:
push:
pull_request:

jobs:
test:
Expand All @@ -12,15 +14,6 @@ jobs:
php: [8.1, 8.2, 8.3]
laravel: [10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: ^8.20
- laravel: 11.*
testbench: ^9.0
exclude:
- php: 8.1
laravel: 11.*


name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand All @@ -42,7 +35,8 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction
composer require "orchestra/testbench:${{ matrix.testbench }}" --no-interaction
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down

0 comments on commit 3a42940

Please sign in to comment.