Skip to content

Commit

Permalink
make tests actually operational, add robustness check
Browse files Browse the repository at this point in the history
  • Loading branch information
ericphanson committed Sep 18, 2023
1 parent f80d462 commit 3cddb16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ const GHA = GitHubActions
@testset "get_gha_level" begin
for val in ("1", "true")
withenv("RUNNER_DEBUG" => val) do
GHA.get_gha_level() === Logging.Debug
@test GHA.get_gha_level() === Logging.Debug
end
end

for val in ("0", "false", "", nothing)
for val in ("0", "false", "", nothing, "garbage")
withenv("RUNNER_DEBUG" => val) do
GHA.get_gha_level() === Logging.Info
@test GHA.get_gha_level() === Logging.Info
end
end
end
Expand Down

0 comments on commit 3cddb16

Please sign in to comment.