logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 4bb578a1d76c8094db36021db0aed2dfcebd1dbc
parent 3972d7117e061c7c2fb685c57427117ee02d1024
Author: Alex Gleason <alex@alexgleason.me>
Date:   Sun, 23 May 2021 18:31:07 -0500

Add cycles test to .gitlab-ci.yml
Thank you @jb55@bitcoinhackers.org for the awk syntax

Diffstat:

M.gitlab-ci.yml8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -154,6 +154,14 @@ analysis: script: - mix credo --strict --only=warnings,todo,fixme,consistency,readability +cycles: + stage: test + image: elixir:1.11 + script: + - mix deps.get + - mix compile + - mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}' + docs-deploy: stage: deploy cache: *testing_cache_policy