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 9dd52cc commit b5cb016Copy full SHA for b5cb016
.github/scripts/run_parallel_benchmarks.sh
@@ -36,15 +36,17 @@ echo "Waiting for both jobs to complete..."
36
pr_exit=0
37
master_exit=0
38
39
-if ! wait "$pr_pid"; then
40
- pr_exit=$?
+wait "$pr_pid"
+pr_exit=$?
41
+if [ "$pr_exit" -ne 0 ]; then
42
echo "PR job exited with code: $pr_exit"
43
else
44
echo "PR job completed successfully"
45
fi
46
-if ! wait "$master_pid"; then
47
- master_exit=$?
+wait "$master_pid"
48
+master_exit=$?
49
+if [ "$master_exit" -ne 0 ]; then
50
echo "Master job exited with code: $master_exit"
51
52
echo "Master job completed successfully"
0 commit comments