We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ff1af89 + 004ba66 commit 9b9f269Copy full SHA for 9b9f269
2 files changed
.github/workflows/build.yaml
@@ -52,3 +52,7 @@ jobs:
52
53
- name: "Run Unit Tests"
54
run: "ctest --test-dir ./build"
55
+
56
+ - name: "Print test log on failure"
57
+ if: "failure()"
58
+ run: "cat ./build/Testing/Temporary/LastTest.log"
lint-tasks.yml
@@ -26,6 +26,10 @@ tasks:
26
- "src/**/*.h"
27
- "src/**/*.hpp"
28
- "src/**/*.tpp"
29
+ - "tests/**/*.cpp"
30
+ - "tests/**/*.h"
31
+ - "tests/**/*.hpp"
32
+ - "tests/**/*.tpp"
33
cmds:
34
- task: "cpp"
35
vars:
@@ -65,6 +69,7 @@ tasks:
65
69
find src examples tests \
66
70
-type f \
67
71
\( -iname "*.cpp" -o -iname "*.h" -o -iname "*.hpp" -o -iname "*.tpp" \) \
72
+ ! -path "*/*build*/*" \
68
73
-print0 | \
74
xargs -0 clang-format {{.FLAGS}} -Werror
75
0 commit comments