Skip to content

Commit 72f9b43

Browse files
Include test report names to avoid artifact name conflicts (#476)
Signed-off-by: JesusPoderoso <[email protected]>
1 parent 94b581e commit 72f9b43

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/reusable-workflow.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ jobs:
115115
workspace_dependencies: install
116116
ctest_args: --label-exclude "xfail"
117117
colcon_meta_file: src/.github/workflows/configurations/${{ runner.os }}/colcon.meta
118+
test_report_artifact: test_report${{ inputs.dependencies_artifact_postfix }}_${{ inputs.custom_version_build }}_${{ matrix.os }}_${{ matrix.cmake_build_type }}
119+
118120

119121
- name: Test Report
120122
uses: eProsima/eProsima-CI/external/test-reporter@main
@@ -150,10 +152,15 @@ jobs:
150152

151153
- name: Compile and run tests
152154
id: compile_and_test
153-
uses: eProsima/eProsima-CI/multiplatform/asan_build_test@main
155+
uses: eProsima/eProsima-CI/multiplatform/colcon_build_test@main
154156
with:
155157
packages_names: ${{ env.code_packages_names }}
156158
workspace_dependencies: install
159+
cmake_build_type: Debug
160+
cmake_args: -DBUILD_TESTS=ON -DASAN_BUILD=ON
161+
ctest_args: --label-exclude "xfail|xasan"
162+
test_report_artifact: test_report_asan${{ inputs.dependencies_artifact_postfix }}_${{ inputs.custom_version_build }}
163+
157164

158165
- name: Test Report
159166
uses: eProsima/eProsima-CI/external/test-reporter@main
@@ -188,10 +195,19 @@ jobs:
188195

189196
- name: Compile and run tests
190197
id: compile_and_test
191-
uses: eProsima/eProsima-CI/multiplatform/tsan_build_test@main
198+
uses: eProsima/eProsima-CI/multiplatform/colcon_build_test@v0
199+
env:
200+
# GCC 11.3 (Ubuntu Jammy default) produces several false positives regarding timed synchronization protocols
201+
# These issues were fixed in GCC 12 so we upgrade to that version.
202+
CC: gcc-12
203+
CXX: g++-12
192204
with:
193205
packages_names: ${{ env.code_packages_names }}
194206
workspace_dependencies: install
207+
cmake_build_type: Debug
208+
cmake_args: -DBUILD_TESTS=ON -DTSAN_BUILD=ON
209+
ctest_args: --label-exclude "xfail|xtsan"
210+
test_report_artifact: test_report_tsan${{ inputs.dependencies_artifact_postfix }}_${{ inputs.custom_version_build }}
195211

196212
- name: Test Report
197213
uses: eProsima/eProsima-CI/external/test-reporter@main
@@ -262,6 +278,7 @@ jobs:
262278
workspace_dependencies: install
263279
codecov_token: ${{ secrets.CODECOV_TOKEN }}
264280
codecov_fix_file_path: src/codecov.yml
281+
test_report_artifact: test_report_coverage${{ inputs.dependencies_artifact_postfix }}_${{ inputs.custom_version_build }}
265282

266283

267284
#####################################################################

0 commit comments

Comments
 (0)