Skip to content

Commit

Permalink
Add code coverage (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Jan 29, 2019
1 parent 1f6665a commit 588e48f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
- *remove-xdebug
- *unit-tests
- store_test_results:
path: results/junit
path: results
- store_artifacts:
path: results/junit
path: results
- persist_to_workspace:
root: *root
paths: results
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/results/
/vendor/
5 changes: 5 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@
<directory suffix="Test.php">./tests/Services</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit 588e48f

Please sign in to comment.