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.
2 parents 63e93b9 + dd7345c commit 1014f8dCopy full SHA for 1014f8d
.github/scripts/pr-tests.sh
@@ -28,7 +28,8 @@ for file in $(gh pr view "$PR_NUMBER" --json files --jq '.files.[].path'); do
28
elif [[ "$file" == $LANGUAGE/**.ql ]] || [[ "$file" == $LANGUAGE/**.qll ]] ; then
29
echo "[+] Query $file changed (in $LANGUAGE)"
30
31
- SRC_DIR=$(realpath --relative-to="./${LANGUAGE}/src" "$file")
+ SRC_FILE=$(realpath --relative-to="./${LANGUAGE}/src" "$file")
32
+ SRC_DIR=$(dirname "$SRC_FILE")
33
TEST_DIR=./${LANGUAGE}/test/${SRC_DIR}
34
35
if [[ -d "$TEST_DIR" ]]; then
0 commit comments