added tests to composer

This commit is contained in:
Marius Karstedt
2021-03-23 03:23:18 +01:00
parent 4adfa4f322
commit aa8211a273
2 changed files with 6 additions and 6 deletions
+1 -6
View File
@@ -13,9 +13,4 @@ jobs:
with: with:
php_version: 7.3 php_version: 7.3
- name: PHPUnit tests - name: PHPUnit tests
uses: php-actions/phpunit@v2 cmd: composer test
with:
php_version: 7.3
bootstrap: tests/bootstrap.php
configuration: phpunit.xml
args: --coverage-text
+5
View File
@@ -35,6 +35,11 @@
"phpunit/phpunit": "^6.0", "phpunit/phpunit": "^6.0",
"mockery/mockery": "^1" "mockery/mockery": "^1"
}, },
"scripts": {
"test": [
"phpunit tests"
]
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Pecee\\": "src/Pecee/" "Pecee\\": "src/Pecee/"