Skip to content

Commit

Permalink
ci debugging 5
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Feb 25, 2024
1 parent f971415 commit 9933524
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ depot = DepotDelivery.build(joinpath(@__DIR__, "TestProject"))
# debugging artifacts in CI
function print_file_tree(path, depth=0)
if isfile(path)
printstyled(stdout, " " ^ depth, basename(path), '\n', color=:light_blue)
printstyled(" " ^ depth, basename(path), '\n', color=:light_blue)
else
println(stdout, " " ^ depth, basename(path), "/")
println(" " ^ depth, basename(path), "/")
for f in readdir(path)
print_file_tree(joinpath(path, f), depth + 1)
end
end
end

@info isdir(depot)
@info readdir(depot)
print_file_tree(joinpath(depot, "artifacts")) # debugging artifacts in CI

sleep(1) # give time for the logs to flush
Expand Down

0 comments on commit 9933524

Please sign in to comment.