Skip to content

Commit

Permalink
Don't pipe error in clang-tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel committed Aug 8, 2023
1 parent 491ce16 commit c88202a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ jobs:
- name: Check
working-directory: ${{runner.workspace}}/build-clang-tidy
run: |
set -eu -o pipefail
#set -eu -o pipefail
cmake --build . --parallel ${{env.NPROCS}} 2>&1 | tee -a clang-tidy-full-report.txt
cat clang-tidy-full-report.txt | grep "warning:" | grep -v "submods" | sort | uniq | \
awk 'BEGIN{i=0}{print $0}{i++}END{print "Warnings: "i}' > clang-tidy-ci-report.txt
Expand Down

0 comments on commit c88202a

Please sign in to comment.