From 6513b45da508e097dcc44a39d4a8b43f75132b37 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Sun, 8 Nov 2020 22:42:32 +1300 Subject: [PATCH] Enable depwarn input option (#21) --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c3dfaca..5df2dc0 100644 --- a/action.yml +++ b/action.yml @@ -13,6 +13,9 @@ inputs: coverage: description: 'Value determining whether to test with coverage or not. Options: true | false. Default value: true.' default: 'true' + depwarn: + description: 'Value passed to the --depwarn flag. Options: yes | no | error. Default value: yes.' + default: 'yes' runs: using: 'composite' @@ -33,5 +36,5 @@ runs: # the request metadata to pkg.julialang.org when installing # packages via `Pkg.test`. JULIA_PKG_SERVER: "" - - run: julia --color=yes --check-bounds=yes --inline=${{ inputs.inline }} --project -e 'using Pkg; Pkg.test(coverage=${{ inputs.coverage }})' + - run: julia --color=yes --check-bounds=yes --inline=${{ inputs.inline }} --depwarn=${{ inputs.depwarn }} --project -e 'using Pkg; Pkg.test(coverage=${{ inputs.coverage }})' shell: bash