-
-
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
Project dependencies setup (TestJive.jl example does not work) #41
Comments
you could add
or you can
press
http://pkgdocs.julialang.org/v1/environments/#Using-someone-else's-project |
Thank you for replying! Maybe my original report was not detailed enough: I am using the ~/.julia/dev/Jive/test $ julia runtests.jl jive/If (Note that in this example there is no It is clear that adding Jive as a normal dependency to the package helps, but I want to avoid that, because that will lead to installing Jive (update: and other test helpers I am using) in every project using my package, making my package a heavier dependency. Jive is currently added as an "extra" dependency to the Project.toml, but a separate Project.toml in the test dir is also a possibility. What I do not see: how directly starting runtests.jl will work in this case, or if there is a way to run only specific tests while executing Thanks in advance! |
I just made
on github actions:
|
Thanks, this way of calling seems to open the way to filter tests by using the However,
still runs both tests, not clear why. (This way of calling sets the ARGS, I am using it in another package without a test helper: https://github.com/tisztamo/Plugins.jl/blob/2ad710f707237426dbfc1d61c6e13ab625c1d05d/test/runtests.jl#L6 ) |
oh. I just bump up the Jive version. please to update the Pkg registry.
|
Thank you very much, it is working now! |
Trying to execute runtests.jl as a script, but it is not clear how I can set up the project environment so that Jive and my test dependencies wil be available.
The examples show how this should be done, but they are not working with Julia 1.6:
julia --project=. test/runtests.jl
throws the same.What is the way to go?
The text was updated successfully, but these errors were encountered: