Skip to content

Commit 3cc7afe

Browse files
committed
Force rebuilding of python files in PR
1 parent bf4786a commit 3cc7afe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/prep_cython_cache.sh

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ if [ -f "$CACHE_File" ] && [ "$USE_CACHE" ]; then
2121
echo "PR: checking for any cython file changes from last 5 commits"
2222
git diff PR_HEAD~5 --numstat | grep -E "pyx|pxd"
2323
retval=$(git diff PR_HEAD~5 --numstat | grep -E "pyx|pxd"| wc -l)
24+
echo "Forcing cython rebuild due to possibility of history rewritting in PR"
25+
retval=-1
2426
fi
2527
echo "number of cython files changed: $retval"
2628
fi

0 commit comments

Comments
 (0)