Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ inputs:
test_args:
description: 'Arguments string that is passed on to test.'
default: ''
optimize:
description: 'Set the optimization level for the julia process being run during tests. Default value: 3'
default: '2'

runs:
using: 'composite'
Expand Down Expand Up @@ -78,3 +81,4 @@ runs:
COMPILED_MODULES: ${{ inputs.compiled_modules }}
ALLOW_RERESOLVE: ${{ inputs.allow_reresolve }}
DEPWARN: ${{ inputs.depwarn }}
OPTIMIZE: ${{ inputs.optimize }}
3 changes: 2 additions & 1 deletion test_harness.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ kwargs = Kwargs.kwargs(; coverage=ENV["COVERAGE"],
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"]),],
string("--depwarn=", ENV["DEPWARN"]),
string("--optimize=", ENV["OPTIMIZE"]),],
test_args=ARGS,
)

Expand Down
Loading