From d50646ca12820830929ae541e58b95cd2447fbef Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Wed, 21 Jun 2023 13:06:39 +0200 Subject: [PATCH] Print a message when clang-tidy fails --- .github/workflows/build-and-test-all.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 9c33fb8393..7d2a75fd49 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -559,12 +559,15 @@ jobs: steps: - run: | if [ "x${{ needs.build-auth.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-auth.outputs.clang-tidy-failed }}" != "0" ]; then + echo "::error::Auth clang-tidy failed" exit 1 fi - if [ "x${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "0" ]; then + if [ "x${{needs.build-recursor.outputs.clang-tidy-failed}}" != "x" -a "${{needs.build-recursor.outputs.clang-tidy-failed}}" != "0" ]; then + echo "::error::Rec clang-tidy failed" exit 1 fi - if [ "x${{needs.build-recursor.outputs.clang-tidy-failed}}" != "x" -a "${{needs.build-recursor.outputs.clang-tidy-failed}}" != "0" ]; then + if [ "x${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "0" ]; then + echo "::error::dnsdist clang-tidy failed" exit 1 fi -- 2.47.3