-
Notifications
You must be signed in to change notification settings - Fork 357
Add Tests from json-schema/JSON-Schema-Test-Suite GitHub Project #43
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
Conversation
@justinrainbow. Scrutinizer failed to run the PHP analyzer successfully, but I don't know why. Travis passed and both PHP builds were successful so all PHPUnit tests passed. I can't seem to schedule a new Scrutinizer run. Can you please investigate? Let me know if there is something I need to do to fix the problem and I will add a new commit to this request. It would be great to merge this request since it adds the full draft-03 test suite and makes available the draft-04 suite as well. |
@justinrainbow. Hello. I thought perhaps that the first Scrutinizer failure might be a fluke so I added draft-04 unit tests, fixed draft-04
I don't see anything in the log that indicates why PHP Analyzer failed. I've contacted Scrutinizer-ci support and have asked them to investigate. I can't schedule a new Scrutinizer run, but you probably can. So, can you please take a look at the Scrutinizer problem and let me know if there is something I need to do to fix it? I noticed that Other successful Scrutinizer runs don't download all of the dependencies. It just says that they are all up to date. But for some reason, Scrutinizer is downloading the dependencies after it clones JSON-Schema-Test-Suite. It doesn't appear that the PHP Analyzer is running correctly based on what I see in the log. Any help with this would be greatly appreciated. It would be great to have the draft-03 and draft-04 test suites included in with this project. Thanks! |
@justinrainbow. Yes. It looks like adding
So if you change the Scrutinizer config file for the |
@justinrainbow. Hello. As you can see from #46, demand is growing for draft-04 support, which we would like to begin working on. In order to do that, it is very important that this pull request be merged since it adds the full test suites for both draft-03 and draft-04. Unfortunately, Scrutinizer CI is failing. Can you try adding |
I ran the tests and Scrutinzer CI stuff locally and everything checked out. The only change was moving the new dependency into the |
Hello and thanks for incorporating the test suites! I'm having a Scrutinizer issue though. I created an account on
Also, you might want to update the |
Hello @justinrainbow. I contacted Scrutinizer-ci support about the issues with downloading, installing, and building PHP dependencies. They can't provide an immediate analysis and resolution to the problem. All they did was suggest to disable PHP Analyzer for the time being since it's causing Scrutinizer to constantly fail. Not a very satisfying response, but that's all they could recommend for now. Thanks. |
I added json-schema/JSON-Schema-Test-Suite as a repository in composer.json with an explicit reference to a newly created tag. When
composer install
is executed, the repository will be cloned and its contents placed in thevendor
directory. I added a new test that executes all of the draft-03 tests from that repository except for a few that are marked as skipped. So, full draft-03 testing is done using the tests from the JSON-Schema-Test-Suite GitHub project. I also added a new test that executes a majority subset of the draft-04 test suite. Some draft-04 functionality is not yet implemented so those tests are currently being skipped.