Skip to content

Commit cbe3b79

Browse files
committed
Merge branch 'v2.x-laravel10' into v2.x
2 parents dd34f00 + 50b8e46 commit cbe3b79

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Tests Laravel 10
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests-laravel-10:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
php: [8.1, 8.2]
13+
14+
name: PHP ${{ matrix.php }}
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
20+
- name: Setup PHP
21+
uses: shivammathur/setup-php@v2
22+
with:
23+
php-version: ${{ matrix.php }}
24+
extensions: mbstring, sqlite, pdo_sqlite, iconv
25+
coverage: none
26+
27+
- name: Install dependencies
28+
run: |
29+
composer require "laravel/framework:10.*" "orchestra/testbench:8.*" --no-interaction --no-update
30+
composer update --prefer-stable --prefer-dist --no-interaction
31+
32+
- name: Execute tests
33+
run: vendor/bin/phpunit

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"license": "MIT",
66
"require": {
77
"php": "^8.0|^8.1|^8.2",
8-
"illuminate/console": "^7.0|^8.0|^9.0",
9-
"illuminate/contracts": "^7.0|^8.0|^9.0",
10-
"illuminate/support": "^7.0|^8.0|^9.0",
8+
"illuminate/console": "^7.0|^8.0|^9.0|^10.0",
9+
"illuminate/contracts": "^7.0|^8.0|^9.0|^10.0",
10+
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",
1111
"wakebit/cycle-bridge": "^2.0"
1212
},
1313
"require-dev": {
1414
"friendsofphp/php-cs-fixer": "^3.4",
15-
"orchestra/testbench": "^4.8 || ^5.2 || ^6.0 || ^7.0",
15+
"orchestra/testbench": "^4.8 || ^5.2 || ^6.0 || ^7.0 || ^8.0",
1616
"phpunit/phpunit": "^9.5",
1717
"psalm/plugin-phpunit": "^0.16.1",
1818
"vimeo/psalm": "^4.22"

0 commit comments

Comments
 (0)