We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 603e5c4 commit b23ee2bCopy full SHA for b23ee2b
bin/testing-entrypoint.sh
@@ -83,8 +83,11 @@ if [ -f "${TESTS_OUTPUT}/coverage.xml" ] && [[ "$COVERAGE" == "1" ]]; then
83
fi
84
85
# Set public test result files permissions.
86
-echo 'Setting output permissions'.
87
-chmod 777 -R "$TESTS_OUTPUT"/*
+if [ -n "$(ls "$TESTS_OUTPUT")" ]; then
+ echo 'Setting result files permissions'.
88
+ chmod 777 -R "$TESTS_OUTPUT"/*
89
+fi
90
+
91
92
# Check results and exit accordingly.
93
if [ -f "${TESTS_OUTPUT}/failed" ]; then
0 commit comments