Skip to content

Commit 453cb28

Browse files
committed
code coverage
1 parent 26da895 commit 453cb28

File tree

10 files changed

+14
-13
lines changed

10 files changed

+14
-13
lines changed

.github/workflows/continuousIntegration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: HPCReactCI
1+
name: hpcReactCI
22

33
on:
44
push:
@@ -257,7 +257,7 @@ jobs:
257257
- name: Upload coverage reports to Codecov
258258
uses: codecov/codecov-action@v3
259259
with:
260-
files: hpcreact_coverage.info.cleaned
260+
files: hpcReact_coverage.info.cleaned
261261
fail_ci_if_error: true
262262
env:
263263
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ endif()
1515

1616
if( NOT is_submodule )
1717
message( "not a submodule")
18-
project( HPCReact LANGUAGES CXX C )
18+
project( hpcReact LANGUAGES CXX C )
1919

2020
set( BLT_SOURCE_DIR ${PROJECT_SOURCE_DIR}/cmake/blt CACHE PATH "" )
2121
set( BLT_CXX_STD "c++17" CACHE STRING "Version of C++ standard" FORCE )

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# HPCReact
1+
# hpcReact
22
Package for modeling of chemical reactions on High Performance Computing Systems

cmake/CMakeBasics.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ else()
66

77
endif()
88

9+
option( ENABLE_COVERAGE "Enable coverage" OFF )
910
#set( SHIVA_BUILD_OBJ_LIBS OFF CACHE BOOL "" )
1011

1112

cmake/Macros.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
macro(HPCReact_add_code_checks)
1+
macro(hpcReact_add_code_checks)
22

33
set(options)
44
set(singleValueArgs PREFIX UNCRUSTIFY_CFG_FILE )
@@ -69,4 +69,4 @@ macro(HPCReact_add_code_checks)
6969
RUNNER ctest -E 'blt_gtest_smoke|testCppCheck|testClangTidy|testUncrustifyCheck|testDoxygenCheck|testCppCheck|testClangTidy'
7070
SOURCE_DIRECTORIES ${PROJECT_SOURCE_DIR}/src )
7171
endif()
72-
endmacro(HPCReact_add_code_checks)
72+
endmacro(hpcReact_add_code_checks)

scripts/ci_build_and_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
env
33

44
BUILD_DIR=${GITHUB_WORKSPACE}
5-
BUILD_DIR_MOUNT_POINT=/tmp/HPCReact
5+
BUILD_DIR_MOUNT_POINT=/tmp/hpcReact
66

77

88
if [[ -z "${NPROC}" ]]; then
@@ -12,7 +12,7 @@ fi
1212
# We need to keep track of the building container (hence the `CONTAINER_NAME`)
1313
# so we can extract the data from it later (if needed). Another solution would have been to use a mount point,
1414
# but that would not have solved the problem for the TPLs (we would require extra action to copy them to the mount point).
15-
CONTAINER_NAME=hpcreact_build
15+
CONTAINER_NAME=hpcReact_build
1616

1717
docker run \
1818
--rm \

scripts/ci_build_and_test_in_container.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ fi
8989

9090
if [[ "$*" == *--code-coverage* ]]; then
9191
or_die make -j ${NPROC} VERBOSE=1
92-
or_die make hpcreact_coverage
93-
cp -r ${HPCREACT_BUILD_DIR}/hpcreact_coverage.info.cleaned /tmp/HPCReact/hpcreact_coverage.info.cleaned
92+
or_die make hpcReact_coverage
93+
cp -r ${HPCREACT_BUILD_DIR}/hpcReact_coverage.info.cleaned /tmp/hpcReact/hpcReact_coverage.info.cleaned
9494
fi
9595

9696

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ add_subdirectory( reactions/bulkGeneric/unitTests )
5555
add_subdirectory( common/unitTests )
5656
add_subdirectory( docs )
5757

58-
HPCReact_add_code_checks( PREFIX hpcReact
58+
hpcReact_add_code_checks( PREFIX hpcReact
5959
UNCRUSTIFY_CFG_FILE ${PROJECT_SOURCE_DIR}/src/uncrustify.cfg
6060
EXCLUDES "blt/*" )
6161

src/docs/doxygen/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
blt_add_doxygen_target( hpcreact_doxygen )
1+
blt_add_doxygen_target( hpcReact_doxygen )
22

src/docs/doxygen/Doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ DOXYFILE_ENCODING = UTF-8
4242
# title of most generated pages and in a few other places.
4343
# The default value is: My Project.
4444

45-
PROJECT_NAME = "HPCReact"
45+
PROJECT_NAME = "hpcReact"
4646

4747
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
4848
# could be handy for archiving the generated documentation or if some version

0 commit comments

Comments
 (0)