[Credo][CI] Do not make TODO/FIXME fail
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Tue, 5 Mar 2019 01:32:12 +0000 (02:32 +0100)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Wed, 13 Mar 2019 03:17:30 +0000 (04:17 +0100)
.credo.exs
.gitlab-ci.yml

index 580cb270539657347a93c6853ab5c01565ef8ac6..947280f56c37ba30b6352f796d2796c1977d4b62 100644 (file)
@@ -69,8 +69,8 @@
         # You can also customize the exit_status of each check.
         # If you don't want TODO comments to cause `mix credo` to fail, just
         # set this value to 0 (zero).
-        {Credo.Check.Design.TagTODO, exit_status: 2},
-        {Credo.Check.Design.TagFIXME},
+        {Credo.Check.Design.TagTODO, exit_status: 0},
+        {Credo.Check.Design.TagFIXME, exit_status: 0},
 
         {Credo.Check.Readability.FunctionNames},
         {Credo.Check.Readability.LargeNumbers},
index 6c86097ad7a4791014c916202fb7d5dc9cc892b8..bd94d146bb00d3200eb9c928f7218130dfc7f7d2 100644 (file)
@@ -42,4 +42,4 @@ unit-testing:
 analysis:
   stage: analysis
   script:
-    - mix credo list --only=warnings
+    - mix credo list --only=warnings,todo,fixme