projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3972d71
)
Add cycles test to .gitlab-ci.yml
author
Alex Gleason
<alex@alexgleason.me>
Sun, 23 May 2021 23:31:07 +0000
(18:31 -0500)
committer
Alex Gleason
<alex@alexgleason.me>
Wed, 9 Jun 2021 18:06:01 +0000
(13:06 -0500)
Thank you @jb55@bitcoinhackers.org for the awk syntax
.gitlab-ci.yml
patch
|
blob
|
history
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index b155c81bd7efe6083d5a4e4cee319c443297e054..88504b3e3e95e981d4e3e2ed2c43676607891bee 100644
(file)
--- 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