Skip to content

Commit 688c95f

Browse files
authored
Merge pull request #2256 from elBoberido/iox-2011-fix-nightly-clang-tidy-check
iox-#2011 Rename 'string.cpp' to fix the clang-tidy check
2 parents 60d7912 + 2e95348 commit 688c95f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,17 +183,18 @@ jobs:
183183
retention-days: 30
184184

185185
- name: Upload coverage to Codecov
186-
uses: codecov/codecov-action@v3
186+
uses: codecov/codecov-action@v4
187187
with:
188188
file: ./lcov_results/unittest/lcov/iceoryx_lcov_result_unit.info
189189
name: iceoryx
190190
flags: unittests
191191
fail_ci_if_error: false
192192

193193
- name: Upload coverage to Codecov
194-
uses: codecov/codecov-action@v3
194+
uses: codecov/codecov-action@v4
195195
with:
196196
file: ./lcov_results/unittest_timing/lcov/iceoryx_lcov_result_unit-timing.info
197197
name: iceoryx
198198
flags: unittests_timing
199199
fail_ci_if_error: false
200+
token: ${{ secrets.CODECOV_TOKEN }}

iceoryx_platform/generic/source/string.cpp renamed to iceoryx_platform/generic/source/string_.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
//
1515
// SPDX-License-Identifier: Apache-2.0
1616

17+
// NOTE: This file is called 'string_.cpp' due to issues with clang-tidy. When the file is called 'string.cpp'
18+
// clang-tidy assumes to be the translation unit for 'iox/string.hpp' tries to check that header with the wrong
19+
// translation unit which leads to an error not finding the includes in 'iox/string.hpp'
20+
1721
#include "iceoryx_platform/string.hpp"
1822

1923
#ifndef IOX_PLATFORM_OVERRIDE_STRING_ALL

0 commit comments

Comments
 (0)