-
Notifications
You must be signed in to change notification settings - Fork 121
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
document requirements and how to run the tests #125
Comments
I would love to contribute to this project but without being able to run the tests I do not have confidence in sending pull requests 😢 |
@jgbarah if you could help me work through this issue, I will involve myself in this project more and file more pull requests and try to help out with issues filed. |
Thanks a lot for your interest, @filmaj I'm in the process of integrating this project in the set of tests that build_grimoirelab can run automatically, when building packages. Recently, chaoss/grimoirelab#124 was merged, which provides the basis for this testing. I already integrated sortinghat tests (see chaoss/grimoirelab-sortinghat#154), and the next one is sirmorded. So, we're almost there ;-) Meanwhile, maybe you can have a look at the travis config file, which is what Travis uses to run the tests. In it, you can see how you need Elasticsearch running for some tests, and also some packages in specific versions. Copying from that file:
So, not all dependencies are in Could you try starting from here? |
That's great! I got pretty far to running the tests, but it looks like a dependency on sortinghat deep down the chain is still causing an error, 7 failures that all are the same issue:
I took a look at the sortinghat code and it looks like that exception class was recently removed. So, no wonder 😉 . In that commit they rename the exception to I'll send a PR here for updated README instructions. |
The PR at chaoss/grimoirelab-elk#382 that is currently open will fix the above test failures in Mordred, FYI. |
It would be nice to know how to get set up in this repository, as well as how to run the tests.
My assumptions / attempts so far have included:
python3 setup.py install
pip install -r requirements.txt
- maybe? Maybe the last command implicitly installs the reqs?But how do I run the tests? I tried
python3 tests/run_tests.py
, but that failed completely. I tried to run it from thetests/
directory and got farther, but it looks like I'm missing a ton of dependencies:If someone could help me with this, I will happily issue a pull request to update the README.md.
Thanks!
The text was updated successfully, but these errors were encountered: