change test command & phpunit file update

This commit is contained in:
DeveloperMarius
2021-03-23 13:19:36 +01:00
parent 537d607b9f
commit 4725b330fe
2 changed files with 6 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ jobs:
# - name: Install dependencies
# run: composer install --prefer-dist
- name: Run tests with phpunit
run: php ./phpunit
run: phpunit tests
# - name: Setup composer

View File

@@ -15,9 +15,10 @@
<directory>tests/Pecee/SimpleRouter/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<coverage processUncoveredFiles="true"
ignoreDeprecatedCodeUnits="true">
<include>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</include>
</coverage>
</phpunit>