Skip to content

Commit f39761f

Browse files
committed
Fix path to git diff
1 parent ccc51b3 commit f39761f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-check-install.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,10 +540,13 @@ jobs:
540540
} fi
541541
542542
test_dir="tests/testthat/"
543+
git version
544+
git branch
545+
git status
543546
544547
# Get the list of R files that have changed
545548
# https://github.com/cloudnativeto/envoy/blob/de67446fa8af973761bb4716f5143d73643baf8b/.github/workflows/get_build_targets.sh_bak#L9
546-
files=$(git diff --name-only HEAD FETCH_HEAD -- $test_dir R/*.R)
549+
files=$(git diff --name-only HEAD FETCH_HEAD -- "$test_dir"/*.R R/*.R)
547550
548551
if [ -z "$files" ]
549552
then {

0 commit comments

Comments
 (0)