Skip to content

Commit

Permalink
build: updated code coverage make target to run the entire test suite…
Browse files Browse the repository at this point in the history
…, not just offline
  • Loading branch information
Richard Pospesel committed Jul 22, 2023
1 parent 3a208e5 commit a603309
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ define pages
endef

# debug build the website, code coverage, c/c++ apis, and rust docs
pages-debug: config-debug coverage-offline-debug
pages-debug: config-debug coverage-debug
@$(call pages,"debug")

# release build the website, code coverage, c/c++ apis, and rust docs
pages-release: config-release coverage-offline-release
pages-release: config-release coverage-release
@$(call pages,"release")

# debug build everything and deploy to dist
Expand Down
8 changes: 4 additions & 4 deletions source/gosling/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ add_custom_target(gosling_cargo_tarpaulin
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)

install(FILES ${CARGO_TARGET_DIR}/tarpaulin/tarpaulin-report.html
DESTINATION pages
RENAME coverage.html)

#
# offline code coverage
#
Expand All @@ -48,10 +52,6 @@ add_custom_target(gosling_cargo_tarpaulin_offline
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)

install(FILES ${CARGO_TARGET_DIR}/tarpaulin-offline/tarpaulin-report.html
DESTINATION pages
RENAME coverage.html)

#
# crate linting
#
Expand Down

0 comments on commit a603309

Please sign in to comment.