diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-05-23 18:31:07 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-06-09 13:06:01 -0500 |
commit | 4bb578a1d76c8094db36021db0aed2dfcebd1dbc (patch) | |
tree | ddd1c239a9e520babdf3b3d452addfd6f4ee2949 | |
parent | 3972d7117e061c7c2fb685c57427117ee02d1024 (diff) | |
download | pleroma-4bb578a1d76c8094db36021db0aed2dfcebd1dbc.tar.gz |
Add cycles test to .gitlab-ci.yml
Thank you @jb55@bitcoinhackers.org for the awk syntax
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b155c81bd..88504b3e3 100644 --- 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 |