Skip to content

Commit 1a9abc4

Browse files
nparleyjreback
authored andcommitted
Force rebuilding of python files in PR
Force the rebuilding of cython files in PR as can't rely on the git history Author: Neil Parley <[email protected]> Closes pandas-dev#13515 from nparley/no-pr-cache and squashes the following commits: 75e71e7 [Neil Parley] Undo test commit 7fcccc0 [Neil Parley] Testing commit 3cc7afe [Neil Parley] Force rebuilding of python files in PR
1 parent bf4786a commit 1a9abc4

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)