Skip to content

Commit c4f77fd

Browse files
committed
#25 fixing build after restructure
1 parent a5101e4 commit c4f77fd

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/codeChecks.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
echo "==================Running clang-tidy====================================="
4747
clang-tidy ./src/*.cpp -checks='*' > ./clang-tidy-report.txt
4848
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
5151
5252
- name: Upload clang-tidy report to git hub storage to use later
5353
uses: actions/upload-artifact@v4
@@ -70,8 +70,8 @@ jobs:
7070
# This step checks for suspect words in the codebase
7171
run: |
7272
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
7575
- name: Upload suspect words report to git hub storage to use later
7676
uses: actions/upload-artifact@v4
7777
with:
@@ -82,8 +82,8 @@ jobs:
8282
# This step checks for boilerplate code in the codebase
8383
run: |
8484
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
8787
- name: Upload boilerplate report to git hub storage to use later
8888
uses: actions/upload-artifact@v4
8989
with:
@@ -94,8 +94,8 @@ jobs:
9494
# This step checks for large files in the codebase
9595
run: |
9696
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
9999
- name: Upload file size report to git hub storage to use later
100100
uses: actions/upload-artifact@v4
101101
with:

.github/workflows/multi-platform-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
lcov --remove ./build/coverage.info --directory ./build -o ./build/filtered_coverage.info \
273273
'/usr/include/*' \
274274
'/include/gtest/*' \
275-
'*/test/*' \
275+
'*/tests/*' \
276276
'*/googletest/*'
277277
echo "================================= Conversion coverage====================================="
278278
genhtml ./build/filtered_coverage.info --output-directory coverage_report

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ if (BUILD_TESTS)
4444
FetchContent_Declare(googletest
4545
URL https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz)
4646
FetchContent_MakeAvailable(googletest)
47-
add_subdirectory(test)
47+
add_subdirectory(tests)
4848
endif ()

0 commit comments

Comments
 (0)