Skip to content

Commit

Permalink
Add missing checks for YAPF_RETVAL & PRAGMA_CHECK_RETVAL in CI (nv-mo…
Browse files Browse the repository at this point in the history
…rpheus#173)

fixes nv-morpheus#172

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: nv-morpheus#173
  • Loading branch information
dagardner-nv authored Sep 9, 2022
1 parent 8568422 commit b1b67dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/scripts/cpp_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ else
echo -e "\n\n>>>> PASSED: include-what-you-use check\n\n"
fi

RETVALS=(${CLANG_TIDY_RETVAL} ${CLANG_FORMAT_RETVAL} ${IWYU_RETVAL})
RETVALS=(${PRAGMA_CHECK_RETVAL} ${CLANG_TIDY_RETVAL} ${CLANG_FORMAT_RETVAL} ${IWYU_RETVAL})
IFS=$'\n'
RETVAL=`echo "${RETVALS[*]}" | sort -nr | head -n1`

Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/python_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ else
echo -e "\n\n>>>> PASSED: yapf style check\n\n"
fi

RETVALS=(${ISORT_RETVAL} ${FLAKE_RETVAL})
RETVALS=(${ISORT_RETVAL} ${FLAKE_RETVAL} ${YAPF_RETVAL})
IFS=$'\n'
RETVAL=`echo "${RETVALS[*]}" | sort -nr | head -n1`

Expand Down

0 comments on commit b1b67dc

Please sign in to comment.