diff options
Diffstat (limited to 'test/elixir/test/test_helper.exs')
-rw-r--r-- | test/elixir/test/test_helper.exs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/elixir/test/test_helper.exs b/test/elixir/test/test_helper.exs index b2c3210e8..3e40eee7a 100644 --- a/test/elixir/test/test_helper.exs +++ b/test/elixir/test/test_helper.exs @@ -1,5 +1,13 @@ +# If build number detected assum we running on Jenkins +# and skip certain tests that fail on jenkins. +exclude = + case System.get_env("BUILD_NUMBER") !== nil do + true -> [pending: true, skip_on_jenkins: true] + false -> [pending: true] + end + ExUnit.configure( - exclude: [pending: true], + exclude: exclude, formatters: [JUnitFormatter, ExUnit.CLIFormatter] ) |