@@ -2,7 +2,7 @@ name: 1 - Run Interoperability Tests
22run-name : ${{ github.actor }} is testing out GitHub Actions 🚀
33env :
44 # comma separated list of tests to skip
5- SKIP_EXEC : " connext_dds-7.5.0_shape_main_linux, test_name_not_delete "
5+ SKIP_EXEC : " connext_dds-6.1.2_shape_main_linux "
66on : workflow_dispatch
77jobs :
88 generate_timestamp :
@@ -56,14 +56,16 @@ jobs:
5656 source .venv/bin/activate
5757 cd executables
5858 for publisher in connext_dds-* ; do \
59- for subscriber in * ; do \
60- echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
61- python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
62- if [ -d "./OpenDDS-durable-data-dir" ]; then \
63- echo Deleting OpenDDS-durable-data-dir; \
64- rm -rf ./OpenDDS-durable-data-dir; \
65- fi; \
66- done \
59+ if [ -e "$publisher" ]; then \
60+ for subscriber in * ; do \
61+ echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
62+ python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
63+ if [ -d "./OpenDDS-durable-data-dir" ]; then \
64+ echo Deleting OpenDDS-durable-data-dir; \
65+ rm -rf ./OpenDDS-durable-data-dir; \
66+ fi; \
67+ done \
68+ fi; \
6769 done
6870 - name : Attach the report
6971 if : always()
@@ -112,14 +114,16 @@ jobs:
112114 source .venv/bin/activate
113115 cd executables
114116 for publisher in dust_dds-* ; do \
115- for subscriber in * ; do \
116- echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
117- python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
118- if [ -d "./OpenDDS-durable-data-dir" ]; then \
119- echo Deleting OpenDDS-durable-data-dir; \
120- rm -rf ./OpenDDS-durable-data-dir; \
121- fi; \
122- done \
117+ if [ -e "$publisher" ]; then \
118+ for subscriber in * ; do \
119+ echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
120+ python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
121+ if [ -d "./OpenDDS-durable-data-dir" ]; then \
122+ echo Deleting OpenDDS-durable-data-dir; \
123+ rm -rf ./OpenDDS-durable-data-dir; \
124+ fi; \
125+ done \
126+ fi; \
123127 done
124128 - name : Attach the report
125129 if : always()
@@ -168,14 +172,16 @@ jobs:
168172 source .venv/bin/activate
169173 cd executables
170174 for publisher in eprosima_fastdds-* ; do \
171- for subscriber in * ; do \
172- echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
173- python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
174- if [ -d "./OpenDDS-durable-data-dir" ]; then \
175- echo Deleting OpenDDS-durable-data-dir; \
176- rm -rf ./OpenDDS-durable-data-dir; \
177- fi; \
178- done \
175+ if [ -e "$publisher" ]; then \
176+ for subscriber in * ; do \
177+ echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
178+ python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
179+ if [ -d "./OpenDDS-durable-data-dir" ]; then \
180+ echo Deleting OpenDDS-durable-data-dir; \
181+ rm -rf ./OpenDDS-durable-data-dir; \
182+ fi; \
183+ done \
184+ fi; \
179185 done
180186 - name : Attach the report
181187 if : always()
@@ -224,14 +230,16 @@ jobs:
224230 source .venv/bin/activate
225231 cd executables
226232 for publisher in intercom_dds-* ; do \
227- for subscriber in * ; do \
228- echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
229- python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
230- if [ -d "./OpenDDS-durable-data-dir" ]; then \
231- echo Deleting OpenDDS-durable-data-dir; \
232- rm -rf ./OpenDDS-durable-data-dir; \
233- fi; \
234- done \
233+ if [ -e "$publisher" ]; then \
234+ for subscriber in * ; do \
235+ echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
236+ python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
237+ if [ -d "./OpenDDS-durable-data-dir" ]; then \
238+ echo Deleting OpenDDS-durable-data-dir; \
239+ rm -rf ./OpenDDS-durable-data-dir; \
240+ fi; \
241+ done \
242+ fi; \
235243 done
236244 - name : Attach the report
237245 if : always()
@@ -280,14 +288,16 @@ jobs:
280288 source .venv/bin/activate
281289 cd executables
282290 for publisher in opendds-* ; do \
283- for subscriber in * ; do \
284- echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
285- python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
286- if [ -d "./OpenDDS-durable-data-dir" ]; then \
287- echo Deleting OpenDDS-durable-data-dir; \
288- rm -rf ./OpenDDS-durable-data-dir; \
289- fi; \
290- done \
291+ if [ -e "$publisher" ]; then \
292+ for subscriber in * ; do \
293+ echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
294+ python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
295+ if [ -d "./OpenDDS-durable-data-dir" ]; then \
296+ echo Deleting OpenDDS-durable-data-dir; \
297+ rm -rf ./OpenDDS-durable-data-dir; \
298+ fi; \
299+ done \
300+ fi; \
291301 done
292302 - name : Attach the report
293303 if : always()
@@ -336,14 +346,16 @@ jobs:
336346 source .venv/bin/activate
337347 cd executables
338348 for publisher in toc_coredx_dds-* ; do \
339- for subscriber in * ; do \
340- echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
341- python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
342- if [ -d "./OpenDDS-durable-data-dir" ]; then \
343- echo Deleting OpenDDS-durable-data-dir; \
344- rm -rf ./OpenDDS-durable-data-dir; \
345- fi; \
346- done \
349+ if [ -e "$publisher" ]; then \
350+ for subscriber in * ; do \
351+ echo "Testing Publisher $publisher --- Subscriber $subscriber"; \
352+ python3 ./../interoperability_report.py -P ./$publisher -S ./$subscriber -o=./../junit_interoperability_report.xml; \
353+ if [ -d "./OpenDDS-durable-data-dir" ]; then \
354+ echo Deleting OpenDDS-durable-data-dir; \
355+ rm -rf ./OpenDDS-durable-data-dir; \
356+ fi; \
357+ done \
358+ fi; \
347359 done
348360 - name : Attach the report
349361 if : always()
0 commit comments