mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-15 18:23:26 +03:00
added tests to composer
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -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
|
||||
@@ -35,6 +35,11 @@
|
||||
"phpunit/phpunit": "^6.0",
|
||||
"mockery/mockery": "^1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
"phpunit tests"
|
||||
]
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Pecee\\": "src/Pecee/"
|
||||
|
||||
Reference in New Issue
Block a user