Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 168c525

Browse files
WIP
1 parent 8deb250 commit 168c525

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

‎.github/workflows/laravel.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: [8.2]
17+
php: [8.2, 8.1]
1818

1919
name: PHP ${{ matrix.php }}
2020

@@ -60,8 +60,8 @@ jobs:
6060
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
6161
6262
- name: Execute Integration and Feature tests via PHPUnit
63-
run: vendor/bin/phpunit --configuration phpunit.xml --testsuite Integration,Feature
63+
run: vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite Integration,Feature
6464

6565
- name: Execute Nova tests via PHPUnit
6666
if: github.event_name != 'pull_request'
67-
run: vendor/bin/phpunit --configuration phpunit.xml --testsuite Nova
67+
run: vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite Nova

‎phpunit.xml.dist‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
backupGlobals="false"
4+
backupStaticAttributes="false"
5+
bootstrap="vendor/autoload.php"
6+
colors="true"
7+
convertErrorsToExceptions="true"
8+
convertNoticesToExceptions="true"
9+
convertWarningsToExceptions="true"
10+
processIsolation="false"
11+
stopOnFailure="true"
12+
>
13+
<testsuites>
14+
<testsuite name="Feature">
15+
<directory suffix="Test.php">./tests/Feature</directory>
16+
</testsuite>
17+
<testsuite name="Integration">
18+
<directory suffix="Test.php">./tests/Integration</directory>
19+
</testsuite>
20+
<testsuite name="Nova">
21+
<directory suffix="Test.php">./tests/Nova</directory>
22+
</testsuite>
23+
</testsuites>
24+
<filter>
25+
<whitelist processUncoveredFilesFromWhitelist="false">
26+
<directory suffix=".php">./src</directory>
27+
</whitelist>
28+
</filter>
29+
<php>
30+
<env name="APP_KEY" value="base64:Xgs1LQt1GdVHhD6qyYCXnyq61DE3UKqJ5k2SJc+Nw2g="/>
31+
<env name="APP_ENV" value="testing"/>
32+
<env name="APP_URL" value="http://localhost"/>
33+
<env name="CACHE_DRIVER" value="redis"/>
34+
<env name="SESSION_DRIVER" value="array"/>
35+
<env name="QUEUE_DRIVER" value="sync"/>
36+
<env name="DB_CONNECTION" value="sqlite"/>
37+
<env name="DB_DATABASE" value=":memory:"/>
38+
<env name="REDIS_HOST" value="127.0.0.1"/>
39+
<env name="PGSQL_HOST" value="127.0.0.1"/>
40+
</php>
41+
</phpunit>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /