Skip to content

Commit 81881e4

Browse files
committed
Use current repo executables for testing and and added an error if a executable does not exist
1 parent 4694d81 commit 81881e4

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/1_run_interoperability_tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
- name: Download shape_main executables
4242
uses: robinraju/release-downloader@v1.10
4343
with:
44-
repository: omg-dds/dds-rtps
4544
latest: true
4645
fileName: "*"
4746
out-file-path: zipped_executables
@@ -56,6 +55,16 @@ jobs:
5655
subscriber_exe=executables/${{ matrix.subscriber }}*shape_main_linux
5756
output_file=junit_report-${{ matrix.publisher }}-${{ matrix.subscriber }}.xml
5857
extra_args=""
58+
# Check if publisher executable exists
59+
if ! ls $publisher_exe 1> /dev/null 2>&1; then
60+
echo "ERROR: Publisher executable not found: $publisher_exe"
61+
exit 1
62+
fi
63+
# Check if subscriber executable exists
64+
if ! ls $subscriber_exe 1> /dev/null 2>&1; then
65+
echo "ERROR: Subscriber executable not found: $subscriber_exe"
66+
exit 1
67+
fi
5968
if [[ "${subscriber_exe,,}" == *opendds* && "${publisher_exe,,}" == *connext_dds* ]]; then
6069
extra_args="--periodic-announcement 5000"
6170
fi

0 commit comments

Comments
 (0)