-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add setup for integration tests and other test-related fixes #105
Conversation
Code Climate has analyzed commit 438cc5c and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 77.1%. View more on Code Climate. |
@@ -11,7 +11,7 @@ composer: | |||
dependencies: | |||
make -s composer update -- --prefer-dist | |||
test: | |||
$(RUNNER) "phpunit --coverage-text --coverage-html ./coverage" | |||
$(RUNNER) "XDEBUG_MODE=coverage phpunit --coverage-text --coverage-html ./coverage" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"config": { | ||
"allow-plugins": { | ||
"php-http/discovery": false | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<coverage> | ||
<include> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">./src</directory> | ||
</include> | ||
</coverage> | ||
</whitelist> | ||
</filter> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
php-vcr
composer.json
withphp-discovery
allow-plugins optionmake test
coverageBefore (main branch)
After