Skip to content

Commit

Permalink
try to fix Coverage build flavor #verification
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Apr 8, 2024
1 parent 7543861 commit be51309
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ jobs:
if: ${{ runner.debug == '1' }}
run: ls -lAhR build/
- name: upload-artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build_flavor }}-${{ matrix.exceptions }}-${{ matrix.std }}-${{ matrix.toolchain }}
name: ${{ matrix.build_flavor }}-${{ matrix.std }}-${{ matrix.toolchain }}
path: |
build/compile_commands.json
build/*/**/coverage.xml
Expand Down
6 changes: 6 additions & 0 deletions docs/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,9 @@ add_custom_target(
set_directory_properties(PROPERTIES
IN_BUILD_TESTS "${ALL_EXAMPLE_RUNS}"
)

if (CMAKE_BUILD_TYPE STREQUAL "Coverage")
enable_coverage_report(COVERAGE_REPORT_FORMATS sonarqube html
ROOT_DIRECTORY ${LIBCYPHAL_ROOT}
)
endif()

0 comments on commit be51309

Please sign in to comment.