Skip to content

Commit

Permalink
Require laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
cannycookie committed Jul 10, 2023
1 parent 00db7ff commit c9ae13b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2]
laravel: [10.*, 9.*]
laravel: [10.*]
dependency-version: [prefer-lowest, prefer-stable]

name: Tests P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": "^8.0",
"laravel/framework": "^9.46.0|^10.14.1",
"laravel/framework": "^10.14.1",
"openai-php/laravel": "*",
"symfony/var-exporter": "*"
},
Expand Down
32 changes: 26 additions & 6 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage/>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
cacheResult="false"
colors="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
displayDetailsOnIncompleteTests="true"
displayDetailsOnSkippedTests="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
<testsuite name="Default Test Suite">
<directory suffix=".php">./tests/Unit</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src/</directory>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>
</phpunit>
1 change: 0 additions & 1 deletion tests/Unit/SetupTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php



it('example', function () {
expect(true)->toBeTrue();
});
Expand Down

0 comments on commit c9ae13b

Please sign in to comment.