Skip to content

Commit

Permalink
[test] Dont run terminal notifiers on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cpjolicoeur committed May 16, 2023
1 parent 4000a4d commit f51cbe9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion test/mix/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
ExUnit.configure(formatters: [ExUnit.CLIFormatter, ExUnitNotifier])
if System.get_env("CI") do
ExUnit.configure(formatters: [ExUnit.CLIFormatter])
else
ExUnit.configure(formatters: [ExUnit.CLIFormatter, ExUnitNotifier])
end

ExUnit.start()
7 changes: 6 additions & 1 deletion test/torch/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
ExUnit.configure(formatters: [ExUnit.CLIFormatter, ExUnitNotifier])
if System.get_env("CI") do
ExUnit.configure(formatters: [ExUnit.CLIFormatter])
else
ExUnit.configure(formatters: [ExUnit.CLIFormatter, ExUnitNotifier])
end

ExUnit.start()

0 comments on commit f51cbe9

Please sign in to comment.