Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed May 18, 2024
1 parent 79979ca commit b9a0e3e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ jobs:
composer require --no-update \
illuminate/http:^${{ matrix.illuminate }} \
illuminate/support:^${{ matrix.illuminate }} \
orchestra/testbench:^${{ matrix.testbench }} \
phpunit/phpunit:^${{ matrix.phpunit }}
orchestra/testbench:^${{ matrix.testbench }}
composer update
- name: Configure PHPUnit
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"illuminate/support": "^10.0 || ^11.0"
},
"require-dev": {
"orchestra/testbench": "^9.0",
"phpunit/phpunit": "^11.0"
"orchestra/testbench": "^8.0 || ^9.0",
"phpunit/phpunit": "^10.0 || ^11.0"
},
"autoload": {
"psr-4": {
Expand Down
22 changes: 22 additions & 0 deletions phpunit.10.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
beStrictAboutOutputDuringTests="true"
failOnNotice="true"
failOnRisky="true"
failOnWarning="true">
<testsuites>
<testsuite name="default">
<directory>tests</directory>
</testsuite>
</testsuites>

<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
<include>
<directory>src</directory>
</include>
</source>
</phpunit>

0 comments on commit b9a0e3e

Please sign in to comment.