logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 8583b3721d816805f926da667f361b8de235f941
parent e412363ff8fd34469ffa0ca4c3679af03e6507d6
Author: Lain Soykaf <lain@lain.com>
Date:   Thu,  9 Feb 2023 12:36:02 -0500

B TestHelper, CI: Work with older elixir version.

Diffstat:

M.gitlab-ci.yml2+-
Mtest/test_helper.exs2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -85,7 +85,7 @@ unit-testing: script: - mix ecto.create - mix ecto.migrate - - mix test --cover --preload-modules --warnings-as-errors + - mix test --cover --preload-modules coverage: '/^Line total: ([^ ]*%)$/' artifacts: reports: diff --git 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)