File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -526,15 +526,12 @@ jobs:
526526 # Set working directory where the git repo is
527527 cd ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
528528
529-
530- test_all=$(git show -s --pretty=%B | grep -F "[run-all- tests]")
529+ test_all=$(git show -s --pretty=%B | grep -F "[run-all-tests]" )
530+ test_dir=" tests/testthat/"
531531
532532 # Get the list of R files that have changed
533533 # https://github.com/cloudnativeto/envoy/blob/de67446fa8af973761bb4716f5143d73643baf8b/.github/workflows/get_build_targets.sh_bak#L9
534- files=$(git diff --name-only HEAD FETCH_HEAD -- tests/* R/*.R)
535-
536- # Base directories
537- test_dir="tests/testthat/"
534+ files=$(git diff --name-only HEAD FETCH_HEAD -- $test_dir R/*.R)
538535
539536 # Loop through each modified file and determine which tests to run
540537 for file in $files; do
You can’t perform that action at this time.
0 commit comments