From 4d4daee2327f288a748944a49f4238e3f2ef7ea6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 23 May 2021 18:31:07 -0500 Subject: Add cycles test to .gitlab-ci.yml --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7e8291d8..434c14f45 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,6 +123,15 @@ analysis: - mix deps.get - mix credo --strict --only=warnings,todo,fixme,consistency,readability +cycles: + stage: test + cache: *testing_cache_policy + script: + - mix deps.get + - mix xref graph --format cycles --label compile > /tmp/cycles.log + - cat /tmp/cycles.log + - tail -n1 /tmp/cycles.log | grep -q "No cycles found" + docs-deploy: stage: deploy cache: *testing_cache_policy -- cgit v1.2.3