Skip to content

DRAFT:Disable some tests to see changed codecov #1373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/psv_pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
shell: bash
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
gcov: true
fail_ci_if_error: true
verbose: true

psv-linux-gcc-build-no-cache:
name: PSV / Linux gcc 7.5 / OLP_SDK_ENABLE_DEFAULT_CACHE=OFF
Expand Down
2 changes: 1 addition & 1 deletion olp-cpp-sdk-dataservice-read/tests/MetadataApiTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class MetadataApiTest : public testing::Test {
std::shared_ptr<NetworkMock> network_mock_;
};

TEST_F(MetadataApiTest, GetListVersions) {
TEST_F(MetadataApiTest, DISABLED_GetListVersions) {
{
SCOPED_TRACE("Request metadata versions.");
EXPECT_CALL(
Expand Down
2 changes: 1 addition & 1 deletion olp-cpp-sdk-dataservice-read/tests/ParserTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ TEST(ParserTest, Catalog) {
catalog.GetLayers().at(0).GetVolume().GetEncryption().GetAlgorithm());
}

TEST(ParserTest, Partitions) {
TEST(ParserTest, DISABLED_Partitions) {
std::string json_input =
"{\
\"partitions\": [\
Expand Down
2 changes: 1 addition & 1 deletion olp-cpp-sdk-dataservice-read/tests/QuadTreeIndexTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const char* quad_tree_index_dump =

const auto quad_tree_index_dump_len = 607;

TEST(QuadTreeIndexTest, BackwardsCompatibility) {
TEST(QuadTreeIndexTest, DISABLED_BackwardsCompatibility) {
auto tile_key = olp::geo::TileKey::FromHereTile("381");

auto dump_data = std::make_shared<std::vector<unsigned char>>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void StreamLayerClientImplTest::SetupNetworkExpectation(T url, T response,
}
}

TEST_F(StreamLayerClientImplTest, Subscribe) {
TEST_F(StreamLayerClientImplTest, DISABLED_Subscribe) {
{
SCOPED_TRACE("Subscribe success");

Expand Down Expand Up @@ -281,7 +281,7 @@ TEST_F(StreamLayerClientImplTest, Subscribe) {
}
}

TEST_F(StreamLayerClientImplTest, SubscribeCancellableFuture) {
TEST_F(StreamLayerClientImplTest, DISABLED_SubscribeCancellableFuture) {
{
SCOPED_TRACE("Subscribe success");

Expand Down Expand Up @@ -341,7 +341,7 @@ TEST_F(StreamLayerClientImplTest, SubscribeCancellableFuture) {
}
}

TEST_F(StreamLayerClientImplTest, SubscribeCancel) {
TEST_F(StreamLayerClientImplTest, DISABLED_SubscribeCancel) {
settings_.task_scheduler =
client::OlpClientSettingsFactory::CreateDefaultTaskScheduler(1);

Expand All @@ -367,7 +367,7 @@ TEST_F(StreamLayerClientImplTest, SubscribeCancel) {
EXPECT_EQ(response.GetError().GetErrorCode(), client::ErrorCode::Cancelled);
}

TEST_F(StreamLayerClientImplTest, SubscribeCancelOnClientDestroy) {
TEST_F(StreamLayerClientImplTest, DISABLED_SubscribeCancelOnClientDestroy) {
settings_.task_scheduler =
client::OlpClientSettingsFactory::CreateDefaultTaskScheduler(1);

Expand Down