Verified Commit 4bb578a1 authored by Alex Gleason's avatar Alex Gleason
Browse files

Add cycles test to .gitlab-ci.yml

Thank you @jb55@bitcoinhackers.org for the awk syntax
parent 3972d711
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment