Skip to content

Commit

Permalink
changes CI log level for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ityonemo committed Aug 4, 2024
1 parent a25bf70 commit 5da5c1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ jobs:
- name: Run Tests
env:
RUNNING_CI: "true"
CI_LOG_LEVEL: "info"
run: mix test --exclude no_ci
7 changes: 6 additions & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Logger.configure(level: :info)
log_level = case System.get_env("CI_LOG_LEVEL", "warning") do
"warning" -> :warning
"info" -> :info
end

Logger.configure(level: log_level)

ZiglerTest.Compiler.init()

Expand Down

0 comments on commit 5da5c1f

Please sign in to comment.