File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 8888
8989# https://github.com/JuliaVersionControl/Git.jl/issues/51
9090@testset " OpenSSH integration" begin
91- is_ci = parse (Bool, strip (get (ENV , " CI" , " false" )))
92- is_gha = parse (Bool, strip (get (ENV , " GITHUB_ACTIONS" , " false" )))
93- ssh_privkey = get (ENV , " CI_READONLY_DEPLOYKEY_FOR_CI_TESTSUITE_PRIVATEKEY" , nothing )
94- if is_ci && is_gha && ! isnothing (ssh_privkey)
95- @info " This is GitHub Actions CI, so running the OpenSSH test..."
91+ ssh_privkey = get (ENV , " CI_READONLY_DEPLOYKEY_FOR_CI_TESTSUITE_PRIVATEKEY" , " " )
92+ if ! isempty (ssh_privkey)
93+ @info " CI private key available, so running the OpenSSH test..."
9694 mktempdir () do sshprivkeydir
9795 privkey_filepath = joinpath (sshprivkeydir, " my_private_key" )
9896 open (privkey_filepath, " w" ) do io
You can’t perform that action at this time.
0 commit comments