瀏覽代碼

Set allow_failure: false

ddutchie 2 年之前
父節點
當前提交
3a5d86fdfc
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .gitlab-ci.yml

+ 3 - 2
.gitlab-ci.yml

@@ -5,8 +5,9 @@ stages:
 clang-format:
   stage: format
   image: suyuemu/cibuild:clangformat
-  #TODO: SET THIS TO FALSE!!!
-  allow_failure: true
+  #THIS HAS TO BE FALSE. IT KEEPS RESOURCES AVAILABLE - EG RUNNERS WONT TRY BUILDING IF CODEBASE IS WRONG
+  #MR's NEED TO BE CORRECTLY CLANG FORMATTED
+  allow_failure: false
   script:
     - git submodule update --init --depth 1 --recursive
     - bash .ci/scripts/format/script.sh