-
Notifications
You must be signed in to change notification settings - Fork 10
Add required test dependencies #8
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
|
Oops. It seems I duplicated a dependency in |
|
Thanks for the pull request. Yeah, it seems our readme for how to run the tests is a bit outdated, and there is small issues with test environment. What command did you run and how did you install the ProbabilisticCircuit package (from master or v0.1?) I think adding In the meanwhile, the following workflow works for me to run the tests:
|
|
I did exactly as the README says. First I installed LogicCircuits: Ran tests. All good. Then ProbabilisticCircuits: Then ran tests as stated in the README: And got the error mentioned in my original PR description. Unfortunately, this line Outputs the following error: I'm guessing (again, I don't know anything about Julia, so I might be talking out of my ass) you're running this command in your local git repository, and so it is readable. I suppose Julia makes packages read-only for Pkg-added sources (which makes sense). |
|
By the way, (naturally) the same happens when trying to generate the docs. P.S.: There's a small typo in both ProbabilisticCircuits and LogicalCircuits for the line on generating docs. There's a closing |
|
Aha, yes I was running this command in my folder which cloned the But, yeah we would like to be able run the tests the way you did as well (i.e. without cloning the repos), so adding It seems we only need to add |
|
Thanks for catch. Merging now, as the test are now passing. Also I will go through the readmes and update them. I tried locally outside the the |
This patch adds the required test dependencies to fix the following error.
The above error happens even when LogicCircuits is already installed. I don't know anything about Julia yet, so I might be doing something wrong. But this patch seemed to fix it.