mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
Add nightly builds (#1013)
Partially fixes #884. Adds: - Docker image for CI on Linux - Nightly builds without cache and releases - Nightly clang-tidy checks - Fix typos in .clang-tidy
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace util::prometheus {
|
||||
|
||||
template <SomeNumberType NumberType>
|
||||
@@ -213,6 +215,9 @@ struct WithMockPrometheus : virtual ::testing::Test {
|
||||
return mockPrometheusPtr->histogramDoubleImpls[key];
|
||||
}
|
||||
ASSERT(false, "Wrong metric type for metric {} {}", name, labelsString);
|
||||
|
||||
// to fix -Werror=return-type for gcc 14.1 in Debug mode
|
||||
throw std::runtime_error("Wrong metric type");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user