Skip to content

Commit

Permalink
Merge pull request #12 from 1PilotApp/L11
Browse files Browse the repository at this point in the history
Add support of Laravel 11
  • Loading branch information
ChVuagniaux authored Apr 9, 2024
2 parents b3adf09 + c883c1b commit c1f0b2a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: tests

on:
push:
branches: [ master ]
pull_request:
schedule:
- cron: '0 0 * * *'
Expand All @@ -14,6 +15,13 @@ jobs:
strategy:
matrix:
include:
- php: 8.3
laravel: ^11.0
testbench: ^9.0

- php: 8.2
laravel: ^11.0
testbench: ^9.0
- php: 8.2
laravel: ^10.0
testbench: ^8.0
Expand Down Expand Up @@ -94,7 +102,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -111,4 +119,4 @@ jobs:
composer update --prefer-dist --no-interaction --no-plugins
- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"composer/semver": "^1.4|^2.0|^3.0",
"guzzlehttp/guzzle": "^6.3|^7.0",
"guzzlehttp/promises": "^1.0|^2.0",
"illuminate/http": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/routing": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0"
"illuminate/http": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/routing": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0",
"orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0|~3.8.0|^4.0|^5.0|^6.0|^7.0|^8.0"
"phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0|^10.0",
"orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0|~3.8.0|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0"
},
"autoload": {
"psr-4": {
Expand Down
13 changes: 6 additions & 7 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="1Pilot Test Suite">
<directory suffix="Test.php">tests</directory>
Expand Down

0 comments on commit c1f0b2a

Please sign in to comment.