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
+1 -1
View File
@@ -70,7 +70,7 @@ jobs:
# - name: Install dependencies # - name: Install dependencies
# run: composer install --prefer-dist # run: composer install --prefer-dist
- name: Run tests with phpunit - name: Run tests with phpunit
run: php ./phpunit run: phpunit tests
# - name: Setup composer # - name: Setup composer
+5 -4
View File
@@ -15,9 +15,10 @@
<directory>tests/Pecee/SimpleRouter/</directory> <directory>tests/Pecee/SimpleRouter/</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter> <coverage processUncoveredFiles="true"
<whitelist processUncoveredFilesFromWhitelist="true"> ignoreDeprecatedCodeUnits="true">
<include>
<directory suffix=".php">src</directory> <directory suffix=".php">src</directory>
</whitelist> </include>
</filter> </coverage>
</phpunit> </phpunit>