Skip to content

Commit

Permalink
Merge branch 'michaelgatuma-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
saade committed Feb 17, 2023
2 parents e7e8368 + 8f4ceee commit 61ee556
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Tests

on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
tests:
Expand All @@ -13,14 +13,17 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4, 8.0]
laravel: [^8.0]
php: ['8.0', 8.1, 8.2]
laravel: [9, 10]
exclude:
- php: '8.0'
laravel: 10

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

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -31,8 +34,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
composer require "illuminate/contracts=^${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit --verbose
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
}
],
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"blade-ui-kit/blade-icons": "^1.1",
"illuminate/support": "^8.0|^9.0"
"illuminate/support": "^9.0|^10.0"
},
"require-dev": {
"orchestra/testbench": "^6.0|^7.0",
"orchestra/testbench": "^7.0|^8.0",
"phpunit/phpunit": "^9.0"
},
"autoload": {
Expand Down

0 comments on commit 61ee556

Please sign in to comment.