Skip to content

Commit 7334000

Browse files
authored
Test supported php versions (#11)
* Only test on supported versions of PHP * Only support Laravel 8.x going forward * Add fileinfo extension in pipeline
1 parent 2cd22e7 commit 7334000

4 files changed

Lines changed: 7 additions & 16 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
12-
php: [7.1, 7.2, 7.3, 7.4]
13-
dependency-version: [highest, lowest]
12+
php: [7.4, 8.0]
13+
dependency-version: [lowest, highest]
1414

1515
name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} on ${{ matrix.os }}
1616

@@ -22,7 +22,7 @@ jobs:
2222
uses: shivammathur/setup-php@2.11.0
2323
with:
2424
php-version: ${{ matrix.php }}
25-
extensions: mbstring
25+
extensions: mbstring, fileinfo
2626
coverage: none
2727

2828
- name: Install dependencies

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.1.3",
15-
"laravel/framework": "^5.5 || ^6.0 || ^7.0"
14+
"php": "^7.4 || ^8.0",
15+
"laravel/framework": "^8.0"
1616
},
1717
"require-dev": {
18-
"graham-campbell/testbench": "^5.0"
18+
"orchestra/testbench": "^6.0"
1919
},
2020
"autoload": {
2121
"psr-4": {

tests/SuperBasicAuthTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Sven\SuperBasicAuth\Tests;
44

5+
use Orchestra\Testbench\TestCase;
56
use Sven\SuperBasicAuth\SuperBasicAuth;
67

78
class SuperBasicAuthTest extends TestCase

tests/TestCase.php

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)