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

Add cycles test to .gitlab-ci.yml

Thank you for the awk syntax
parent 3972d711
...@@ -154,6 +154,14 @@ analysis: ...@@ -154,6 +154,14 @@ analysis:
script: script:
- mix credo --strict --only=warnings,todo,fixme,consistency,readability - mix credo --strict --only=warnings,todo,fixme,consistency,readability
stage: test
image: elixir:1.11
- mix deps.get
- mix compile
- mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}'
docs-deploy: docs-deploy:
stage: deploy stage: deploy
cache: *testing_cache_policy 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