Skip to content

Commit ae99b67

Browse files
committed
Print clang-tidy errors to screen
1 parent 5cf856d commit ae99b67

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test-library.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,14 @@ jobs:
258258
working-directory: build
259259
run: bash ${{ github.workspace }}/devel-tools/run_clang_tidy.sh &> clang-tidy.log
260260

261+
- name: Print clang-tidy errors to screen
262+
if: failure()
263+
working-directory: build
264+
shell: bash
265+
run: |
266+
cat clang-tidy.log >&2
267+
exit 1
268+
261269
- name: Archive warnings artifacts
262270
uses: actions/upload-artifact@v4
263271
if: failure()

0 commit comments

Comments
 (0)