Github actions add phpunit tests
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -15,3 +15,9 @@ jobs:
|
|||||||
uses: php-actions/phpstan@v3
|
uses: php-actions/phpstan@v3
|
||||||
with:
|
with:
|
||||||
path: src/
|
path: src/
|
||||||
|
configuration: phpstan.neo
|
||||||
|
- name: PHPunit Tests
|
||||||
|
uses: php-actions/phpunit@v3
|
||||||
|
with:
|
||||||
|
version: 9
|
||||||
|
configuration: phpunit.xml
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ parameters:
|
|||||||
tmpDir: /tmp/phpstan-codeblocks-dotenv
|
tmpDir: /tmp/phpstan-codeblocks-dotenv
|
||||||
level: max
|
level: max
|
||||||
paths:
|
paths:
|
||||||
- %currentWorkingDirectory%
|
- %currentWorkingDirectory%/src
|
||||||
excludePaths:
|
excludePaths:
|
||||||
- vendor
|
- vendor
|
||||||
- test
|
- test
|
||||||
|
|||||||
Reference in New Issue
Block a user