diff --git a/.codecov.yaml b/.codecov.yaml index d2882791f..ab6968bdd 100644 --- a/.codecov.yaml +++ b/.codecov.yaml @@ -16,3 +16,5 @@ ignore: - "src/utility/spline/spline.cpp" - "src/utility/asciiplotter/asciiplotter.cpp" - "example/**" + - ".github" + - "**/README.md" diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index d6c0965a4..675020cf1 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -50,7 +50,7 @@ jobs: architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: Install conan run: pip install conan>2 - - run: python3 Setup.py --options EnableCoverage=True CompileBaryo=True UseVectorization=False + - run: python3 Setup.py --options EnableCoverage=True CompileBaryo=True UseVectorization=False --build-missing - name: Set cmake preset name run: python3 .github/GetProfile.py diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d53f4a4db..2cb4968fd 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -52,7 +52,7 @@ jobs: id: cpu-cores if: matrix.language == 'cpp' - name: Setup - run: python3 Setup.py --options CompileBaryo=True + run: python3 Setup.py --options CompileBaryo=True --build-missing if: matrix.language == 'cpp' - name: Set cmake preset name diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cdfa84cd..6fe360ff5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,13 +203,14 @@ if(BSMPT_IS_TOPLEVEL) set(DOXYGEN_EXCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part1.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part2.cpp) + set(DOXYGEN_EXCLUDE_PATTERNS ${CMAKE_CURRENT_SOURCE_DIR}/src/*/README.md) set(DOXYGEN_PROJECT_BRIEF ${CMAKE_PROJECT_DESCRIPTION}) set(DOXYGEN_EXTRACT_PRIVATE YES) set(DOXYGEN_GENERATE_TREEVIEW YES) set(DOXYGEN_DISTRIBUTE_GROUP_DOC YES) set(DOXYGEN_WARN_IF_UNDOCUMENTED YES) set(DOXYGEN_WARN_IF_DOC_ERROR YES) - set(DOXYGEN_USE_MDFILE_AS_MAINPAGE README.md) + set(DOXYGEN_USE_MDFILE_AS_MAINPAGE ${CMAKE_CURRENT_SOURCE_DIR}/README.md) doxygen_add_docs( doc