forked from relaticle/relaticle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.ci.xml
More file actions
72 lines (72 loc) · 2.92 KB
/
Copy pathphpunit.ci.xml
File metadata and controls
72 lines (72 loc) · 2.92 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<!--
CI overlay of phpunit.xml: same testsuites and base env, plus CI-only
overrides (GitHub Actions postgres service credentials, fake Pusher keys,
log broadcaster). Contract: testsuites must match phpunit.xml exactly, and
every env key in phpunit.xml must exist here. Both rules are enforced by
tests/Arch/TestSuiteIntegrityTest.php.
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Arch">
<directory>tests/Arch</directory>
</testsuite>
<testsuite name="PHPStan">
<directory>tests/PHPStan</directory>
<exclude>tests/PHPStan/Rules/data</exclude>
</testsuite>
<testsuite name="Smoke">
<directory>tests/Smoke</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
<testsuite name="Browser">
<directory>tests/Browser</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
<directory>packages</directory>
<directory>config</directory>
<directory>routes</directory>
</include>
<exclude>
<directory>app/Http/Middleware</directory>
<file>app/Providers/AppServiceProvider.php</file>
</exclude>
</source>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_DEBUG" value="false"/>
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
<env name="ANTHROPIC_API_KEY" value="fake-anthropic-key"/>
<env name="OPENAI_API_KEY" value="fake-openai-key"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_STORE" value="array"/>
<env name="DB_CONNECTION" value="pgsql"/>
<env name="DB_DATABASE" value="relaticle_testing"/>
<env name="DB_HOST" value="127.0.0.1"/>
<env name="DB_PORT" value="5432"/>
<env name="DB_USERNAME" value="postgres"/>
<env name="DB_PASSWORD" value="postgres"/>
<env name="MAIL_MAILER" value="array"/>
<env name="PULSE_ENABLED" value="false"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="TELESCOPE_ENABLED" value="false"/>
<env name="PENNANT_STORE" value="array"/>
<env name="HONEYPOT_ENABLED" value="false"/>
<env name="RELATICLE_FEATURE_BLOG" value="true"/>
<env name="BROADCAST_CONNECTION" value="log"/>
<env name="PUSHER_APP_KEY" value="test-key"/>
<env name="PUSHER_APP_SECRET" value="test-secret"/>
<env name="PUSHER_APP_ID" value="test-id"/>
<env name="PUSHER_APP_CLUSTER" value="mt1"/>
</php>
</phpunit>