|
69 | 69 | - name: Check for suspect words |
70 | 70 | # This step checks for suspect words in the codebase |
71 | 71 | run: | |
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 "./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 |
| 72 | + python3 ./tools/check_suspect_words.py "./src" --marker-file ./tools/check_suspect_words.txt > ./suspect-words-report.txt |
| 73 | + #python3 ./tools/check_suspect_words.py "./tools" --marker-file ./tools/check_suspect_words.txt >> ./suspect-words-report.txt |
| 74 | + python3 ./tools/check_suspect_words.py "./tests" --marker-file ./tools/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: |
|
81 | 81 | - name: Check for boilerplate code |
82 | 82 | # This step checks for boilerplate code in the codebase |
83 | 83 | run: | |
84 | | - python3 ./scripts/check_boilerplate.py --src "./src" --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 |
| 84 | + python3 ./tools/check_boilerplate.py --src "./src" --boilerplate ./tools/check_boilerplate.txt > ./boilerplate-report.txt |
| 85 | + #python3 ./tools/check_boilerplate.py --src "./tools" --boilerplate ./tools/check_boilerplate.txt >> ./boilerplate-report.txt |
| 86 | + python3 ./tools/check_boilerplate.py --src "./tests" --boilerplate ./tools/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: |
|
93 | 93 | - name: Check for large files |
94 | 94 | # This step checks for large files in the codebase |
95 | 95 | run: | |
96 | | - python3 ./scripts/check_file_size.py "./src" 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 |
| 96 | + python3 ./tools/check_file_size.py "./src" 500 "//" .cpp .h > ./file-size-report.txt |
| 97 | + #python3 ./tools/check_file_size.py "./tools" 500 "#" .py >> ./file-size-report.txt |
| 98 | + python3 ./tools/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