-
Notifications
You must be signed in to change notification settings - Fork 6
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
Move phpunit.xml to root folder #166
Conversation
@PVince81 @DeepDiver1975 this seems to be what has been done in other apps. Is this the current "standard"? If so, then we can easily adjust other apps the same way. |
456b804
to
bc61ff2
Compare
Codecov Report
@@ Coverage Diff @@
## master #166 +/- ##
=========================================
Coverage 72.83% 72.83%
Complexity 225 225
=========================================
Files 25 25
Lines 968 968
=========================================
Hits 705 705
Misses 263 263 Continue to review full report at Codecov.
|
@DeepDiver1975 please review and approve, assuming your thumbs-up above means you are happy. |
8755275
to
a736598
Compare
@DeepDiver1975 @patrickjahns @PVince81 this is ready for review again. |
a736598
to
2439a7c
Compare
This makes the CI infrastructure in this app more like "the imagined standard". @patrickjahns this one will be easier to review (smaller) than the files_antivirus one. So it might be good to get this agreed and merged first. Then we just check that owncloud/files_antivirus#273 implements things the same way. |
@@ -5,14 +5,15 @@ | |||
# Composer | |||
composer.phar | |||
vendor/ | |||
vendor-bin/**/vendor |
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.
when we have vendor/
in .gitignore
file, do we really need vendor-bin/**/vendor
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.
vendor/
will just ignore the directory vendor
at the top level of the repo.
The other one is inside vendor-bin/
which is a different top-level directory.
Edit: see comments below
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.
@phil-davis, IMO if we add /vendor
it will only ignore the top-level directory. But in this case (i.e when using vendor/
) every vendor
folder inside the repo is ignored.
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.
I tested this just now. What @paurakhsharma says is true. Every folder called vendor
anywhere in the tree is ignored just by writing vendor/
in .gitignore
@patrickjahns please advise what you want to do. Because we need to have a consistent format for this stuff in every repo. Otherwise it is confusing for people who wonder about small differences.
phpunit.xml
into the root folder of the app.tests/output/clover.xml
phpunit
from corerequire-dev
ofcomposer.json