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 dcaedbf commit efdc03bCopy full SHA for efdc03b
.github/workflows/build-check-install.yaml
@@ -535,6 +535,7 @@ jobs:
535
base_name=$(basename "$file" .R | sed s/test-shinytest2-//g)
536
# Find matching test files (parenthesis to not match arguments)
537
test_files=$(grep -l "$base_name(" "$test_dir"test-shinytest2-*.R)
538
+ td=$TESTING_DEPTH
539
540
# Modify in place so that only modified modules are tested.
541
if [[ -n "$test_files" ]]
@@ -546,10 +547,10 @@ jobs:
546
547
helper_modified="yes"
548
} fi
549
- # R file without corresponding test file: assume it affects all
550
+ # R file without corresponding test file: reset the testing depth
551
if [[ -n "$helper_modified" ]]
552
then {
- TESTING_DEPTH=5
553
+ TESTING_DEPTH=td
554
555
done
556
shell: bash
0 commit comments