Skip to content

Commit

Permalink
Merge pull request #13 from archtechx/l9-support-preparing
Browse files Browse the repository at this point in the history
Support Laravel 9
  • Loading branch information
stancl authored Jan 20, 2022
2 parents 4474c2b + 16f343e commit 1b34e3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ on:

jobs:
pest:
name: Tests (Pest)
name: Tests (Pest) L${{ matrix.laravel }}
runs-on: ubuntu-latest
strategy:
matrix:
laravel: [8, 9]

steps:
- uses: actions/checkout@v2
- name: Start docker containers
run: docker-compose up -d
- name: Install composer dependencies
run: composer install
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
- name: Run tests
run: vendor/bin/pest

Expand Down
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
},
"require": {
"php": "^8.0",
"illuminate/support": "^8.24",
"illuminate/support": "^8.0|^9.0",
"archtechx/helpers": "*"
},
"require-dev": {
"orchestra/testbench": "^6.9",
"orchestra/testbench": "^6.9|^7.0",
"pestphp/pest": "^1.10",
"phpstan/phpstan": "^0.12.92",
"pestphp/pest-plugin-laravel": "^1.1",
Expand All @@ -41,5 +41,7 @@
"ArchTech\\Money\\MoneyServiceProvider"
]
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 1b34e3f

Please sign in to comment.