Skip to content

Commit bd7efc1

Browse files
author
Andrey Helldar
committed
Laravel 9 support prepared
1 parent 22782fe commit bd7efc1

File tree

3 files changed

+38
-6
lines changed

3 files changed

+38
-6
lines changed
File renamed without changes.

.github/workflows/laravel-9.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: phpunit
2+
on: [ push ]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
8+
strategy:
9+
fail-fast: true
10+
matrix:
11+
php: [ "8.0" ]
12+
laravel: [ "9.0" ]
13+
14+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}
15+
16+
steps:
17+
- name: Checkout code
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: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
25+
coverage: none
26+
27+
- name: Install dependencies
28+
run: |
29+
composer require laravel/framework:^${{ matrix.laravel }}
30+
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
31+
- name: Execute tests
32+
run: sudo vendor/bin/phpunit

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
},
1717
"require": {
1818
"php": "^7.3|^8.0",
19-
"illuminate/console": "^6.0|^7.0|^8.0",
20-
"illuminate/database": "^6.0|^7.0|^8.0",
21-
"illuminate/support": "^6.0|^7.0|^8.0",
22-
"symfony/console": "^4.3|^5.0"
19+
"illuminate/console": "^6.0|^7.0|^8.0|^9.0",
20+
"illuminate/database": "^6.0|^7.0|^8.0|^9.0",
21+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
22+
"symfony/console": "^4.3|^5.0|^6.0"
2323
},
2424
"require-dev": {
25-
"mockery/mockery": "^1.3.1",
26-
"orchestra/testbench": "^4.0|^5.0|^6.0",
25+
"mockery/mockery": "^1.4.3",
26+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0",
2727
"phpunit/phpunit": "^8.0|^9.0",
2828
"ramsey/uuid": "^3.7|^4.0"
2929
},

0 commit comments

Comments
 (0)