Skip to content

Commit 5262f9b

Browse files
authored
Added ability to skip executables - testing
1 parent 9e1fdbc commit 5262f9b

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

.github/workflows/1_run_interoperability_tests.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: 1 - Run Interoperability Tests
22
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
3+
env:
4+
# comma separated list of tests to skip
5+
SKIP_EXEC: "connext_dds-6.1.2_shape_main_linux"
36
on: workflow_dispatch
47
jobs:
58
generate_timestamp:
@@ -32,6 +35,13 @@ jobs:
3235
with:
3336
latest: true
3437
fileName: "*"
38+
- name: Skip tests
39+
run: |
40+
echo "Skipping the following tests: $SKIP_EXEC"
41+
clean_list="${SKIP_EXEC//[[:space:]]/}"
42+
for name in ${clean_list//,/ }; do
43+
rm -f "$name.zip"
44+
done
3545
- name: Unzip
3646
run: unzip '*.zip' -d executables
3747
- name: Setting up environment
@@ -81,6 +91,13 @@ jobs:
8191
with:
8292
latest: true
8393
fileName: "*"
94+
- name: Skip tests
95+
run: |
96+
echo "Skipping the following tests: $SKIP_EXEC"
97+
clean_list="${SKIP_EXEC//[[:space:]]/}"
98+
for name in ${clean_list//,/ }; do
99+
rm -f "$name.zip"
100+
done
84101
- name: Unzip
85102
run: unzip '*.zip' -d executables
86103
- name: Setting up environment
@@ -130,6 +147,13 @@ jobs:
130147
with:
131148
latest: true
132149
fileName: "*"
150+
- name: Skip tests
151+
run: |
152+
echo "Skipping the following tests: $SKIP_EXEC"
153+
clean_list="${SKIP_EXEC//[[:space:]]/}"
154+
for name in ${clean_list//,/ }; do
155+
rm -f "$name.zip"
156+
done
133157
- name: Unzip
134158
run: unzip '*.zip' -d executables
135159
- name: Setting up environment
@@ -179,6 +203,13 @@ jobs:
179203
with:
180204
latest: true
181205
fileName: "*"
206+
- name: Skip tests
207+
run: |
208+
echo "Skipping the following tests: $SKIP_EXEC"
209+
clean_list="${SKIP_EXEC//[[:space:]]/}"
210+
for name in ${clean_list//,/ }; do
211+
rm -f "$name.zip"
212+
done
182213
- name: Unzip
183214
run: unzip '*.zip' -d executables
184215
- name: Setting up environment
@@ -228,6 +259,13 @@ jobs:
228259
with:
229260
latest: true
230261
fileName: "*"
262+
- name: Skip tests
263+
run: |
264+
echo "Skipping the following tests: $SKIP_EXEC"
265+
clean_list="${SKIP_EXEC//[[:space:]]/}"
266+
for name in ${clean_list//,/ }; do
267+
rm -f "$name.zip"
268+
done
231269
- name: Unzip
232270
run: unzip '*.zip' -d executables
233271
- name: Setting up environment
@@ -277,6 +315,13 @@ jobs:
277315
with:
278316
latest: true
279317
fileName: "*"
318+
- name: Skip tests
319+
run: |
320+
echo "Skipping the following tests: $SKIP_EXEC"
321+
clean_list="${SKIP_EXEC//[[:space:]]/}"
322+
for name in ${clean_list//,/ }; do
323+
rm -f "$name.zip"
324+
done
280325
- name: Unzip
281326
run: unzip '*.zip' -d executables
282327
- name: Setting up environment

0 commit comments

Comments
 (0)