File tree 1 file changed +14
-8
lines changed 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -213,14 +213,20 @@ jobs:
213
213
- name : Ensure junit-path exists and that all xml files are readable in path 'test_results/**/*xml' with this syntax
214
214
run : |
215
215
if [ ! -d "test_results" ]; then
216
- echo "Warning: test_results directory does not exist"
217
- elif ! ls test_results/*xml 1> /dev/null 2>&1; then
218
- echo "Warning: No xml files found in test_results directory"
219
- elif ! ls -l test_results/*xml 1> /dev/null 2>&1; then
220
- echo "Warning: Not all xml files in test_results directory are readable"
221
- else
222
- echo "All xml files in test_results directory are readable"
223
- ls -l test_results/*xml
216
+ echo "test_results directory does not exist"
217
+ exit 0
218
+ fi
219
+ if ! ls test_results/*xml 1> /dev/null 2>&1; then
220
+ echo "No xml files found in test_results directory"
221
+ exit 0
222
+ fi
223
+ if ! ls -l test_results/*xml 1> /dev/null 2>&1; then
224
+ echo "Not all xml files in test_results directory are readable"
225
+ exit 0
226
+ fi
227
+
228
+ echo "All xml files in test_results directory are readable"
229
+ ls -l test_results/*xml
224
230
225
231
- name : Setup tmate session
226
232
You can’t perform that action at this time.
0 commit comments