Skip to content

Commit b2a62cf

Browse files
authored
Merge pull request #26 from lolli42/lolli-3
2 parents 0e56875 + b0b18c1 commit b2a62cf

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/.php_cs.dist export-ignore
44
/.github export-ignore
55
/tests
6+
/phpunit.xml.dist export-ignore

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
run: composer update
3636

3737
- name: Run test suite
38-
run: vendor/bin/phpunit --colors tests/Unit/
38+
run: vendor/bin/phpunit

phpunit.xml.dist

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<phpunit
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
4+
beStrictAboutTestsThatDoNotTestAnything="true"
5+
cacheResult="false"
6+
colors="true"
7+
convertDeprecationsToExceptions="true"
8+
convertErrorsToExceptions="true"
9+
convertNoticesToExceptions="true"
10+
convertWarningsToExceptions="true"
11+
failOnRisky="true"
12+
failOnWarning="true"
13+
forceCoversAnnotation="false"
14+
processIsolation="false"
15+
stopOnError="false"
16+
stopOnFailure="false"
17+
stopOnIncomplete="false"
18+
stopOnSkipped="false"
19+
verbose="false"
20+
>
21+
<testsuites>
22+
<testsuite name="Unit tests">
23+
<directory>tests/Unit/</directory>
24+
</testsuite>
25+
</testsuites>
26+
<php>
27+
<ini name="error_reporting" value="E_ALL" />
28+
</php>
29+
</phpunit>

0 commit comments

Comments
 (0)