Skip to content

Commit befab05

Browse files
committed
[#25494] Fix downstream-ci PR checkout and test reporting
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
1 parent 9689fd2 commit befab05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/downstream-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
uses: eProsima/eProsima-CI/external/checkout@v0
6565
with:
6666
path: src/ddspipe
67-
ref: ${{ github.head_ref || github.ref_name }}
67+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref_name }}
6868

6969
# Checkout the downstream tool that consumes DDS Pipe
7070
- name: Checkout downstream tool
@@ -115,6 +115,6 @@ jobs:
115115
with:
116116
name: "Downstream: ${{ matrix.tool.name }} | ${{ matrix.os }} | ${{ matrix.cmake_build_type }}"
117117
path: "${{ steps.compile_and_test.outputs.ctest_results_path }}*.xml"
118-
working-directory: 'src'
118+
working-directory: 'src/ddspipe'
119119
list-tests: 'failed'
120120
list-suites: 'failed'

0 commit comments

Comments
 (0)