diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbeb7b3..c7f7797 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + cmd: composer test \ No newline at end of file diff --git a/composer.json b/composer.json index 5d285cd..b472a9b 100644 --- a/composer.json +++ b/composer.json @@ -35,6 +35,11 @@ "phpunit/phpunit": "^6.0", "mockery/mockery": "^1" }, + "scripts": { + "test": [ + "phpunit tests" + ] + }, "autoload": { "psr-4": { "Pecee\\": "src/Pecee/"