Skip to content
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 test dependencies from [extras], [targets] to their own .toml files. #345

Closed
nathanrboyer opened this issue Apr 1, 2022 · 2 comments

Comments

@nathanrboyer
Copy link

Pkg documentation says test dependencies after Julia 1.2 should use their own environment, but PkgTemplates does not create the files this way.

@bicycle1885
Copy link
Contributor

I guess what you want is Tests(project = true). See https://invenia.github.io/PkgTemplates.jl/stable/user/#PkgTemplates.Tests.

@nickrobinson251
Copy link
Collaborator

Yes, this feature is available via Tests(project=true) :)

We haven't change the default from Tests(project=false) as in our experience (at Invenia) it is actually more difficult maintaining test dependencies when in a separate test/Project.toml, and from what i can see in the ecosystem test/Project.toml hasn't generally become the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants