Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Merge branch 'chore/laravel-9'
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldyrynda committed Jan 23, 2022
2 parents a209b3f + fd9d452 commit 9325f16
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:

jobs:
test:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.0, 7.4, 7.3]
laravel: [^8.0]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
php: [8.1, 8.0, 7.4, 7.3]
laravel: [^8.0, ^9.0]
exclude:
- php: 7.3
laravel: '^9.0'
- php: 7.4
laravel: '^9.0'

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

steps:
- name: Checkout code
Expand All @@ -38,8 +41,8 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/container:${{ matrix.laravel }}" "illuminate/contracts:${{ matrix.laravel }}" "illuminate/database:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require "illuminate/contracts:${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"require": {
"php": "^7.3|^8.0",
"dyrynda/laravel-model-uuid": "^6.5",
"illuminate/container": "^8.12",
"illuminate/contracts": "^8.12",
"illuminate/database": "^8.12",
"illuminate/container": "^8.12|^9.0",
"illuminate/contracts": "^8.12|^9.0",
"illuminate/database": "^8.12|^9.0",
"ramsey/uuid": "^4.1"
},
"require-dev": {
"laravel/legacy-factories": "^1.1",
"mockery/mockery": "^1.4.2",
"orchestra/testbench": "^6.0",
"orchestra/testbench": "^6.0|^7.0",
"phpunit/phpunit": "^9.3"
},
"autoload": {
Expand Down

0 comments on commit 9325f16

Please sign in to comment.