File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ set -eo pipefail
20
20
# Enables `**` to include files nested inside sub-folders
21
21
shopt -s globstar
22
22
23
- DIFF_FROM=" origin/main..."
24
-
25
23
# Exit early if samples don't exist
26
24
if ! find samples -name ' requirements.txt' | grep -q . ; then
27
25
echo " No tests run. './samples/**/requirements.txt' not found"
@@ -73,16 +71,6 @@ for file in samples/**/requirements.txt; do
73
71
file=$( dirname " $file " )
74
72
cd " $file "
75
73
76
- # If $DIFF_FROM is set, use it to check for changes in this directory.
77
- if [[ -n " ${DIFF_FROM:- } " ]]; then
78
- git diff --quiet " $DIFF_FROM " .
79
- CHANGED=$?
80
- if [[ " $CHANGED " -eq 0 ]]; then
81
- # echo -e "\n Skipping $file: no changes in folder.\n"
82
- continue
83
- fi
84
- fi
85
-
86
74
echo " ------------------------------------------------------------"
87
75
echo " - testing $file "
88
76
echo " ------------------------------------------------------------"
You can’t perform that action at this time.
0 commit comments