Skip to content

Commit d572081

Browse files
Configure cache
1 parent a287eb4 commit d572081

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
/.psalm/cache
2121

2222
# PHPUnit
23+
/.phpunit.cache
2324
.phpunit.result.cache
2425

2526
# Temporary files generated by PHPT test runner

phpunit.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
bootstrap="tests/bootstrap.php"
55
colors="true"
66
verbose="true"
7+
cacheResultFile=".phpunit.cache/test-results"
78
failOnRisky="true"
89
failOnWarning="true">
910
<testsuites>
@@ -17,7 +18,8 @@
1718
</testsuite>
1819
</testsuites>
1920

20-
<coverage processUncoveredFiles="true"
21+
<coverage cacheDirectory=".phpunit.cache/code-coverage"
22+
processUncoveredFiles="true"
2123
ignoreDeprecatedCodeUnits="true">
2224
<include>
2325
<directory suffix=".php">src</directory>

0 commit comments

Comments
 (0)