Skip to content

Commit d9cbc11

Browse files
committed
CI: blossom CI do not fail on codesyle failures
Signed-off-by: Daniel Pressler <danielpr@nvidia.com>
1 parent 48952dc commit d9cbc11

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.ci/pipeline/codestyle_matrix.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ steps:
6767
git-clang-format --diff "${BASE}" "${PR_HEAD}" > format.patch
6868
cat format.patch
6969
70-
if [ "$(cat format.patch)" = "no modified files to format" ] || \
71-
[ "$(cat format.patch)" = "clang-format did not modify any files" ] || \
70+
format_msg=$(cat format.patch)
71+
if [ "$format_msg" = "no modified files to format" ] || \
72+
[ "$format_msg" = "clang-format did not modify any files" ] || \
7273
[ ! -s format.patch ]; then
7374
echo "No files to format."
7475
exit 0
@@ -78,7 +79,6 @@ steps:
7879
if ! git diff --quiet --exit-code; then
7980
echo "ERROR: Code is not formatted according to code style."
8081
echo "See https://github.com/openucx/ucx/wiki/Code-style-checking"
81-
exit 1
8282
fi
8383
8484
- name: Authors Check

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Brad Benton <bradford.benton@gmail.com>
2121
Changcheng Liu <jerrliu@nvidia.com>
2222
Colin Hirsch <chirsch@nvidia.com>
2323
Corey J. Nolet <cjnolet@gmail.com>
24+
Daniel Pressler <danielpr@nvidia.com>
2425
David Wootton <dwootton@us.ibm.com>
2526
Devendar Bureddy <devendar@mellanox.com>
2627
Devesh Sharma <devesh.sharma@broadcom.com>

0 commit comments

Comments
 (0)