Skip to content
Snippets Groups Projects
Verified Commit 911585fb authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent beae0b8b
No related branches found
No related tags found
No related merge requests found
......@@ -62,8 +62,7 @@ test:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build .
- ctest
- cmake --build . --target unit_test_coverage
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
......
......@@ -8,13 +8,14 @@
*/
#include <string>
namespace caosdb {
/**
* @brief Configure the connection.
* @param host Host name or ip address of the CaosDB server.
* @param port Port of the CaosDB server.
* @return 0 if everything is ok.
*/
namespace caosdb {
auto configure_connection(const std::string &host, int port) -> int;
} // namespace caosdb
#endif
......@@ -10,6 +10,7 @@ include(GoogleTest)
set_target_properties(gtest PROPERTIES CXX_CLANG_TIDY "" CXX_INCLUDE_WHAT_YOU_USE "")
set_target_properties(gtest_main PROPERTIES CXX_CLANG_TIDY "" CXX_INCLUDE_WHAT_YOU_USE "")
set_target_properties(gmock PROPERTIES CXX_CLANG_TIDY "" CXX_INCLUDE_WHAT_YOU_USE "")
set_target_properties(gmock_main PROPERTIES CXX_CLANG_TIDY "" CXX_INCLUDE_WHAT_YOU_USE "")
list(LENGTH test_cases len_test_cases)
math(EXPR len_test_cases "${len_test_cases} - 1")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment