File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -553,11 +553,12 @@ jobs:
553553 commit_msg=$( git log -1 --pretty=%B )
554554
555555 # Set default TESTING_DEPTH
556- td =$TESTING_DEPTH
557- if [ -z "$td " ]
556+ WORKFLOW_TESTING_DEPTH =$TESTING_DEPTH
557+ if [ -z "$WORKFLOW_TESTING_DEPTH " ]
558558 then {
559559 echo "No TESTING_DEPTH default."
560560 TESTING_DEPTH=5
561+ WORKFLOW_TESTING_DEPTH=5
561562 echo "Setting TESTING_DEPTH=${TESTING_DEPTH}"
562563 echo "TESTING_DEPTH=${TESTING_DEPTH}" >> "$GITHUB_ENV"
563564 } fi
@@ -606,12 +607,11 @@ jobs:
606607 then {
607608 git restore $test_dir
608609 echo "Run all tests: Helpers modifications detected."
609- TESTING_DEPTH="${td }";
610+ TESTING_DEPTH="${WORKFLOW_TESTING_DEPTH }";
610611 break;
611612 } else {
612613 sed -i 's/skip_if_too_deep(5)/skip_if_too_deep(3)/g' "$test_files"
613614 TESTING_DEPTH=3
614- echo "TESTING_DEPTH=${TESTING_DEPTH}" >> "$GITHUB_ENV"
615615 echo "Testing with shinytest2 only for $test_files";
616616 } fi
617617 done
You can’t perform that action at this time.
0 commit comments