File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6060 if : inputs.annotate == 'true'
6161 - run : |
6262 # The Julia command that will be executed
63- 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}} )
63+ julia_cmd=( julia --color=yes --inline=${{ inputs.inline }} --project=${{ inputs.project }} -e 'include(joinpath(ENV["GITHUB_ACTION_PATH"], "test_harness.jl"))' -- ${{inputs.test_args}} )
6464
6565 # Add the prefix in front of the command if there is one
6666 prefix=( ${{ inputs.prefix }} )
7777 CHECK_BOUNDS: ${{ inputs.check_bounds }}
7878 COMPILED_MODULES: ${{ inputs.compiled_modules }}
7979 ALLOW_RERESOLVE: ${{ inputs.allow_reresolve }}
80+ DEPWARN: ${{ inputs.depwarn }}
Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ kwargs = Kwargs.kwargs(; coverage=ENV["COVERAGE"],
44 force_latest_compatible_version= ENV [" FORCE_LATEST_COMPATIBLE_VERSION" ],
55 allow_reresolve= ENV [" ALLOW_RERESOLVE" ],
66 julia_args= [string (" --check-bounds=" , ENV [" CHECK_BOUNDS" ]),
7- string (" --compiled-modules=" , ENV [" COMPILED_MODULES" ])],
7+ string (" --compiled-modules=" , ENV [" COMPILED_MODULES" ]),
8+ # Needs to be done via `julia_args` to ensure `depwarn: no` is respected:
9+ # https://github.com/JuliaLang/Pkg.jl/pull/1763#discussion_r406819660
10+ string (" --depwarn=" , ENV [" DEPWARN" ]),],
811 test_args= ARGS ,
912 )
1013
You can’t perform that action at this time.
0 commit comments