feat: add unit test action (#2)

This commit is contained in:
Damien Retzinger
2022-06-25 16:39:58 -04:00
committed by GitHub
parent 4bc0854cfc
commit 72b1f25310
4 changed files with 112 additions and 0 deletions
+6
View File
@@ -9,6 +9,9 @@
"email": "damienwebdev@gmail.com"
}
],
"scripts": {
"test": "./vendor/bin/phpunit Test/Unit"
},
"archive": {
"exclude": [
"/docs",
@@ -37,5 +40,8 @@
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"require-dev": {
"phpunit/phpunit": "^9.5"
}
}
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
colors="true"
columns="max"
beStrictAboutTestsThatDoNotTestAnything="false">
<php>
<ini name="memory_limit" value="-1"/>
<ini name="date.timezone" value="America/Los_Angeles"/>
<ini name="xdebug.max_nesting_level" value="200"/>
</php>
</phpunit>