mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-25 17:36:54 +08:00
Support specifying allow_reresolve (#107)
This commit is contained in:
@@ -6,6 +6,7 @@ include(joinpath(@__DIR__, "autodetect-dependabot.jl"))
|
||||
|
||||
function kwargs(; coverage,
|
||||
force_latest_compatible_version,
|
||||
allow_reresolve,
|
||||
julia_args::AbstractVector{<:AbstractString}=String[])
|
||||
if coverage isa AbstractString
|
||||
coverage = parse(Bool, coverage)
|
||||
@@ -51,6 +52,10 @@ function kwargs(; coverage,
|
||||
kwargs_dict[:force_latest_compatible_version] = force_latest_compatible_version::Bool
|
||||
end
|
||||
|
||||
if VERSION >= v"1.9"
|
||||
kwargs_dict[:allow_reresolve] = parse(Bool, allow_reresolve)
|
||||
end
|
||||
|
||||
return kwargs_dict
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user