mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00:00
added tests to composer
This commit is contained in:
@@ -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
|
|
||||||
@@ -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/"
|
||||||
|
|||||||
Reference in New Issue
Block a user