Forráskód Böngészése

Set allow_failure: false

ddutchie 2 éve
szülő
commit
3a5d86fdfc
1 módosított fájl, 3 hozzáadás és 2 törlés
  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