Skip to content

Commit d655c6d

Browse files
authored
Merge pull request #25 from laravel-shift/l11-compatibility
2 parents 4a01b8e + 09691fd commit d655c6d

File tree

2 files changed

+34
-31
lines changed

2 files changed

+34
-31
lines changed

.github/workflows/run-tests.yml

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,35 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
6-
tests:
7-
runs-on: ${{ matrix.os }}
8-
strategy:
9-
fail-fast: true
10-
matrix:
11-
os: [ubuntu-latest]
12-
php: [8.1, 8.0, 7.4, 7.3]
13-
dependency-version: [prefer-lowest, prefer-stable]
14-
15-
name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
16-
17-
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v2
20-
21-
- name: Setup PHP
22-
uses: shivammathur/setup-php@v2
23-
with:
24-
php-version: ${{ matrix.php }}
25-
coverage: none
26-
27-
- name: Install dependencies
28-
run: |
29-
composer update --prefer-dist --no-interaction --${{ matrix.dependency-version }}
30-
31-
- name: Execute tests
32-
run: vendor/bin/phpunit
8+
tests:
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
fail-fast: true
13+
matrix:
14+
os: [ubuntu-latest]
15+
php: [7.3, 7.4, 8.0, 8.1, '8.2']
16+
dependency-version: [prefer-lowest, prefer-stable]
17+
18+
name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v2
23+
24+
- name: Setup PHP
25+
uses: shivammathur/setup-php@v2
26+
with:
27+
php-version: ${{ matrix.php }}
28+
coverage: none
29+
30+
- name: Install dependencies
31+
run: |
32+
composer update --prefer-dist --no-interaction --${{ matrix.dependency-version }}
33+
34+
- name: Execute tests
35+
run: vendor/bin/phpunit

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"description": "Make debugging easier by adding more data to your laravel logs",
44
"require": {
55
"php": "^7.3|^8.0",
6-
"illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0",
6+
"illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
77
"monolog/monolog": "^1.23|^2.1.1|^3.2"
88
},
99
"require-dev": {
10-
"phpunit/phpunit": "^9.3.9",
11-
"orchestra/testbench": "^6.23.0|^7.0.0|^8.0"
10+
"phpunit/phpunit": "^9.3.9|^10.5",
11+
"orchestra/testbench": "^6.23.0|^7.0.0|^8.0|^9.0"
1212
},
1313
"license": "MIT",
1414
"authors": [

0 commit comments

Comments
 (0)