-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support Julia 1.11+ #113
Support Julia 1.11+ #113
Conversation
sandbox_args = (ctx, | ||
pkgspec, | ||
pkgspec.path, | ||
joinpath(pkgspec.path, "test")) | ||
if VERSION >= v"1.8.0" | ||
test_project_override = test_folder_has_project_file ? | ||
nothing : | ||
test_project_override = if VERSION >= v"1.4" && !test_folder_has_project_file | ||
if VERSION >= v"1.8" | ||
gen_target_project(ctx, pkgspec, pkgspec.path::String, "test") | ||
sandbox_args = (sandbox_args..., test_project_override) | ||
elseif VERSION >= v"1.7.0" | ||
test_project_override = test_folder_has_project_file ? | ||
nothing : | ||
elseif VERSION >= v"1.7" | ||
gen_target_project(ctx.env, ctx.registries, pkgspec, pkgspec.path, "test") | ||
sandbox_args = (sandbox_args..., test_project_override) | ||
elseif VERSION >= v"1.4.0" | ||
test_project_override = test_folder_has_project_file ? | ||
nothing : | ||
else | ||
gen_target_project(ctx, pkgspec, pkgspec.path, "test") | ||
sandbox_args = (sandbox_args..., test_project_override) | ||
end | ||
else | ||
nothing | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff is hard to read but this part is just dealing with version differences for calling gen_target_project
independently from sandbox
args
Can we change this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really do need to finish #89
To ensure that I didn't break older versions of Julia not normally tested by the CI workflow I added commit cb7a15d to validate Julia versions 1.2 - 1.10 all pass tests. |
Julia 1.2 is upset about running
I think I'm going to not investigate this issue further. |
Note at this time Julia 1.11.0-beta1 is the latest released version of Julia 1.11 which is why I used
v"1.11-"
in this PR. Note that the "nightly" CI jobs are setup tocontinue-on-error
so reviewers will need to view the output of those jobs to confirm it actually passes.