mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-11 18:46:55 +08:00
Pass depwarn in via julia_args (#135)
Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
This commit is contained in:
@@ -60,7 +60,7 @@ runs:
|
||||
if: inputs.annotate == 'true'
|
||||
- run: |
|
||||
# The Julia command that will be executed
|
||||
julia_cmd=( julia --color=yes --depwarn=${{ inputs.depwarn }} --inline=${{ inputs.inline }} --project=${{ inputs.project }} -e 'include(joinpath(ENV["GITHUB_ACTION_PATH"], "test_harness.jl"))' -- ${{inputs.test_args}} )
|
||||
julia_cmd=( julia --color=yes --inline=${{ inputs.inline }} --project=${{ inputs.project }} -e 'include(joinpath(ENV["GITHUB_ACTION_PATH"], "test_harness.jl"))' -- ${{inputs.test_args}} )
|
||||
|
||||
# Add the prefix in front of the command if there is one
|
||||
prefix=( ${{ inputs.prefix }} )
|
||||
@@ -77,3 +77,4 @@ runs:
|
||||
CHECK_BOUNDS: ${{ inputs.check_bounds }}
|
||||
COMPILED_MODULES: ${{ inputs.compiled_modules }}
|
||||
ALLOW_RERESOLVE: ${{ inputs.allow_reresolve }}
|
||||
DEPWARN: ${{ inputs.depwarn }}
|
||||
|
||||
@@ -4,7 +4,10 @@ kwargs = Kwargs.kwargs(; coverage=ENV["COVERAGE"],
|
||||
force_latest_compatible_version=ENV["FORCE_LATEST_COMPATIBLE_VERSION"],
|
||||
allow_reresolve=ENV["ALLOW_RERESOLVE"],
|
||||
julia_args=[string("--check-bounds=", ENV["CHECK_BOUNDS"]),
|
||||
string("--compiled-modules=", ENV["COMPILED_MODULES"])],
|
||||
string("--compiled-modules=", ENV["COMPILED_MODULES"]),
|
||||
# Needs to be done via `julia_args` to ensure `depwarn: no` is respected:
|
||||
# https://github.com/JuliaLang/Pkg.jl/pull/1763#discussion_r406819660
|
||||
string("--depwarn=", ENV["DEPWARN"]),],
|
||||
test_args=ARGS,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user