Github actions add phpunit tests

This commit is contained in:
2024-05-22 16:33:54 +09:00
parent e86528a366
commit 5004e3c9d8
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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