Commit dc16a7bd authored by kinuthia's avatar kinuthia
Browse files

Merge branch '824-ci-incorrect-comparison-in-clang-format-check-job' into 'main'

Resolve "[ci] incorrect comparison in clang-format-check job"

See merge request !1108
parents 832d7978 45132b71
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -909,6 +909,7 @@ clang-format-check:
      - run: git apply $PATCH_FILE_NAME\n
      - commit new changes"

    - format_problems=0
    - scripts/check-format.sh -af -p 8 || format_problems=$?
    - if [ $format_problems == 0 ] ; then exit 0; fi

@@ -926,7 +927,7 @@ clang-format-check:
    expire_in: 1 day
    paths:
      - tmp-formatting-fix/
    when: always
    when: on_failure
    name: "$ARTIFACT_BASE_NAME"
    expose_as: "formatting patch"