Skip to content

Commit 1b6184b

Browse files
committed
update ci settings
1 parent a29989b commit 1b6184b

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

phpunit.xml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,33 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
4-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.0/phpunit.xsd"
2+
<phpunit bootstrap="vendor/autoload.php"
63
backupGlobals="false"
4+
backupStaticAttributes="false"
5+
beStrictAboutTestsThatDoNotTestAnything="false"
76
colors="true"
8-
bootstrap="vendor/autoload.php"
7+
verbose="true"
8+
convertErrorsToExceptions="true"
9+
convertNoticesToExceptions="true"
10+
convertWarningsToExceptions="true"
911
failOnRisky="true"
1012
failOnWarning="true"
11-
beStrictAboutTestsThatDoNotTestAnything="false">
13+
stopOnFailure="false">
1214
<php>
1315
<ini name="error_reporting" value="-1"/>
14-
<env name="TEST_POSTGRES_DSN" value="pgsql://postgres:123456789@localhost:5432/test"/>
1516
</php>
1617

1718
<testsuites>
1819

19-
<testsuite name="Common storage parts">
20-
<directory>./vendor/php-service-bus/storage-common/tests</directory>
21-
</testsuite>
22-
23-
<testsuite name="SQL databases adapters implementation">
20+
<testsuite name="Telegram bot">
2421
<directory>./tests/</directory>
2522
</testsuite>
2623

2724
</testsuites>
2825

2926
<filter>
3027
<whitelist>
31-
<directory>./</directory>
28+
<directory>./src</directory>
3229
<exclude>
3330
<directory>./tests</directory>
34-
<directory>./vendor</directory>
3531
</exclude>
3632
</whitelist>
3733
</filter>

0 commit comments

Comments
 (0)