|
46 | 46 | echo "==================Running clang-tidy=====================================" |
47 | 47 | clang-tidy ./src/*.cpp -checks='*' > ./clang-tidy-report.txt |
48 | 48 | clang-tidy ./src/*.h -checks='*' >> ./clang-tidy-report.txt |
49 | | - clang-tidy ./test/*.cpp -checks='*' >> ./clang-tidy-report.txt |
50 | | - #clang-tidy ./test/*.h -checks='*' >> ./clang-tidy-report.txt |
| 49 | + clang-tidy ./tests/*.cpp -checks='*' >> ./clang-tidy-report.txt |
| 50 | + #clang-tidy ./tests/*.h -checks='*' >> ./clang-tidy-report.txt |
51 | 51 |
|
52 | 52 | - name: Upload clang-tidy report to git hub storage to use later |
53 | 53 | uses: actions/upload-artifact@v4 |
|
70 | 70 | # This step checks for suspect words in the codebase |
71 | 71 | run: | |
72 | 72 | python3 ./scripts/check_suspect_words.py "./src" --marker-file ./scripts/check_suspect_words.txt > ./suspect-words-report.txt |
73 | | - #python3 ./scripts/check_suspect_words.py "./scripts" --marker-file ./scripts/check_suspect_words.txt >> ./suspect-words-report.txt |
74 | | - python3 ./scripts/check_suspect_words.py "./test" --marker-file ./scripts/check_suspect_words.txt >> ./suspect-words-report.txt |
| 73 | + #python3 ./scripts/check_suspect_words.py "./tools" --marker-file ./scripts/check_suspect_words.txt >> ./suspect-words-report.txt |
| 74 | + python3 ./scripts/check_suspect_words.py "./tests" --marker-file ./scripts/check_suspect_words.txt >> ./suspect-words-report.txt |
75 | 75 | - name: Upload suspect words report to git hub storage to use later |
76 | 76 | uses: actions/upload-artifact@v4 |
77 | 77 | with: |
|
82 | 82 | # This step checks for boilerplate code in the codebase |
83 | 83 | run: | |
84 | 84 | python3 ./scripts/check_boilerplate.py --src "./src" --boilerplate ./scripts/check_boilerplate.txt > ./boilerplate-report.txt |
85 | | - #python3 ./scripts/check_boilerplate.py --src "./scripts" --boilerplate ./scripts/check_boilerplate.txt >> ./boilerplate-report.txt |
86 | | - python3 ./scripts/check_boilerplate.py --src "./test" --boilerplate ./scripts/check_boilerplate.txt >> ./boilerplate-report.txt |
| 85 | + #python3 ./scripts/check_boilerplate.py --src "./tools" --boilerplate ./scripts/check_boilerplate.txt >> ./boilerplate-report.txt |
| 86 | + python3 ./scripts/check_boilerplate.py --src "./tests" --boilerplate ./scripts/check_boilerplate.txt >> ./boilerplate-report.txt |
87 | 87 | - name: Upload boilerplate report to git hub storage to use later |
88 | 88 | uses: actions/upload-artifact@v4 |
89 | 89 | with: |
|
94 | 94 | # This step checks for large files in the codebase |
95 | 95 | run: | |
96 | 96 | python3 ./scripts/check_file_size.py "./src" 500 "//" .cpp .h > ./file-size-report.txt |
97 | | - #python3 ./scripts/check_file_size.py "./scripts" 500 "#" .py >> ./file-size-report.txt |
98 | | - python3 ./scripts/check_file_size.py "./test" 500 "//" .cpp .h >> ./file-size-report.txt |
| 97 | + #python3 ./scripts/check_file_size.py "./tools" 500 "#" .py >> ./file-size-report.txt |
| 98 | + python3 ./scripts/check_file_size.py "./tests" 500 "//" .cpp .h >> ./file-size-report.txt |
99 | 99 | - name: Upload file size report to git hub storage to use later |
100 | 100 | uses: actions/upload-artifact@v4 |
101 | 101 | with: |
|
0 commit comments