Skip to content

Commit

Permalink
Fix GitHub workflow to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed May 13, 2022
1 parent 5024160 commit 28bedca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ jobs:
matrix:
os: [ ubuntu-latest ]
php: [ 8.0, 8.1 ]
laravel: [ 8.* ]
laravel: [ 8.*, 9.* ]
dependency-version: [ prefer-stable ]
include:
- laravel: 8.*
testbench: 6.*
- laravel: 9.*
testbench: 7.*

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

Expand All @@ -36,7 +38,7 @@ jobs:
- name: Install dependencies
run: |
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_PASSWORD }}"
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_4_LICENSE_KEY }}"
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
env:
Expand Down

0 comments on commit 28bedca

Please sign in to comment.