diff options
author | lain <lain@soykaf.club> | 2023-02-09 19:05:50 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2023-02-09 19:05:50 +0000 |
commit | 16276c8f872a43b8d30f2918ec92283e484b0b6a (patch) | |
tree | 945606fd451545702ede7e21debce19e75d91049 /test/test_helper.exs | |
parent | 2a244b391d8c1d9d8e960532758110928cb5ef7c (diff) | |
parent | 8583b3721d816805f926da667f361b8de235f941 (diff) | |
download | pleroma-16276c8f872a43b8d30f2918ec92283e484b0b6a.tar.gz pleroma-16276c8f872a43b8d30f2918ec92283e484b0b6a.zip |
Merge branch 'test-warnings' into 'develop'
Fix warnings in tests, treat warnings as errors in CI.
See merge request pleroma/pleroma!3827
Diffstat (limited to 'test/test_helper.exs')
-rw-r--r-- | test/test_helper.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_helper.exs b/test/test_helper.exs index 60a61484f..7727cffbc 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -2,6 +2,8 @@ # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/> # SPDX-License-Identifier: AGPL-3.0-only +Code.put_compiler_option(:warnings_as_errors, true) + os_exclude = if :os.type() == {:unix, :darwin}, do: [skip_on_mac: true], else: [] ExUnit.start(exclude: [:federated, :erratic] ++ os_exclude) |