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

View File

@@ -13,9 +13,4 @@ jobs:
with:
php_version: 7.3
- name: PHPUnit tests
uses: php-actions/phpunit@v2
with:
php_version: 7.3
bootstrap: tests/bootstrap.php
configuration: phpunit.xml
args: --coverage-text
cmd: composer test

View File

@@ -35,6 +35,11 @@
"phpunit/phpunit": "^6.0",
"mockery/mockery": "^1"
},
"scripts": {
"test": [
"phpunit tests"
]
},
"autoload": {
"psr-4": {
"Pecee\\": "src/Pecee/"