-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathphpunit.xml
More file actions
43 lines (43 loc) · 1.89 KB
/
Copy pathphpunit.xml
File metadata and controls
43 lines (43 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./tests/bootstrap_test.php"
backupGlobals="false" colors="true" processIsolation="false" executionOrder="random"
resolveDependencies="true" stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/13.0/phpunit.xsd" cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<coverage>
<report>
<clover outputFile="./storage/coverage/clover.xml"/>
<html outputDirectory="./storage/coverage/html"/>
<text outputFile="php://stdout" showUncoveredFiles="false"/>
<xml outputDirectory="./storage/coverage/coverage-xml"/>
</report>
</coverage>
<testsuites>
<testsuite name="Main">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="./storage/coverage/junit.xml"/>
</logging>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory>./vendor</directory>
</exclude>
</source>
<php>
<server name="DATABASE_DEFAULT" value="pgsql"/>
<server name="DB_DRIVER" value="pgsql"/>
<!-- DB connection defaults (forge / forge / forge). Real environment variables
(docker-compose for local runs, the job env in GitHub Actions) take precedence,
because force="false" keeps any value already present in the environment. -->
<env name="DB_HOST" value="localhost" force="false"/>
<env name="DB_PORT" value="5432" force="false"/>
<env name="DB_DATABASE" value="forge" force="false"/>
<env name="DB_USERNAME" value="forge" force="false"/>
<env name="DB_PASSWORD" value="forge" force="false"/>
</php>
</phpunit>