Skip to content

Commit d168fa6

Browse files
committed
That too
1 parent 2b19e81 commit d168fa6

File tree

3 files changed

+70
-38
lines changed

3 files changed

+70
-38
lines changed

phpunit.xml

+27-38
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,29 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
>
12-
<testsuites>
13-
<testsuite name="Application">
14-
<directory suffix="Test.php">./tests</directory>
15-
</testsuite>
16-
<testsuite name="Streams">
17-
<directory suffix="Test.php">./vendor/streams/*/tests</directory>
18-
</testsuite>
19-
<testsuite name="Streams Core">
20-
<directory suffix="Test.php">./vendor/streams/core/tests</directory>
21-
</testsuite>
22-
<testsuite name="Streams API">
23-
<directory suffix="Test.php">./vendor/streams/api/tests</directory>
24-
</testsuite>
25-
<testsuite name="Streams UI">
26-
<directory suffix="Test.php">./vendor/streams/ui/tests</directory>
27-
</testsuite>
28-
</testsuites>
29-
30-
<filter>
31-
<whitelist processUncoveredFilesFromWhitelist="false">
32-
<directory suffix=".php">./vendor/anomaly/*/src/</directory>
33-
</whitelist>
34-
</filter>
35-
36-
<logging>
37-
<log type="coverage-html" target="./coverage"/>
38-
</logging>
39-
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage processUncoveredFiles="false">
4+
<include>
5+
<directory suffix=".php">./vendor/anomaly/*/src/</directory>
6+
</include>
7+
<report>
8+
<html outputDirectory="./coverage"/>
9+
</report>
10+
</coverage>
11+
<testsuites>
12+
<testsuite name="Application">
13+
<directory suffix="Test.php">./tests</directory>
14+
</testsuite>
15+
<testsuite name="Streams">
16+
<directory suffix="Test.php">./vendor/streams/*/tests</directory>
17+
</testsuite>
18+
<testsuite name="Streams Core">
19+
<directory suffix="Test.php">./vendor/streams/core/tests</directory>
20+
</testsuite>
21+
<testsuite name="Streams API">
22+
<directory suffix="Test.php">./vendor/streams/api/tests</directory>
23+
</testsuite>
24+
<testsuite name="Streams UI">
25+
<directory suffix="Test.php">./vendor/streams/ui/tests</directory>
26+
</testsuite>
27+
</testsuites>
28+
<logging/>
4029
</phpunit>

phpunit.xml.bak

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false"
11+
>
12+
<testsuites>
13+
<testsuite name="Application">
14+
<directory suffix="Test.php">./tests</directory>
15+
</testsuite>
16+
<testsuite name="Streams">
17+
<directory suffix="Test.php">./vendor/streams/*/tests</directory>
18+
</testsuite>
19+
<testsuite name="Streams Core">
20+
<directory suffix="Test.php">./vendor/streams/core/tests</directory>
21+
</testsuite>
22+
<testsuite name="Streams API">
23+
<directory suffix="Test.php">./vendor/streams/api/tests</directory>
24+
</testsuite>
25+
<testsuite name="Streams UI">
26+
<directory suffix="Test.php">./vendor/streams/ui/tests</directory>
27+
</testsuite>
28+
</testsuites>
29+
30+
<filter>
31+
<whitelist processUncoveredFilesFromWhitelist="false">
32+
<directory suffix=".php">./vendor/anomaly/*/src/</directory>
33+
</whitelist>
34+
</filter>
35+
36+
<logging>
37+
<log type="coverage-html" target="./coverage"/>
38+
</logging>
39+
40+
</phpunit>

server_deploy.sh

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ echo "Deploying application..."
1919
# Restart queue workers
2020
php artisan queue:restart
2121

22+
# Publish public assets
23+
php artisan vendor:publish --tag=public
24+
2225
# Clear cache/optimize
2326
php artisan optimize
2427

0 commit comments

Comments
 (0)