Skip to content

Commit

Permalink
Update python.yml
Browse files Browse the repository at this point in the history
Add debugs for *_MODIFIED_FILES
  • Loading branch information
iphysresearch authored Dec 7, 2023
1 parent b13360f commit 31f350f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
FILE_COUNT=$(echo "$PYTHON_MODIFIED_FILES" | wc -l)
if [[ $FILE_COUNT -gt 1 ]]; then
echo "More than one python_submit.txt file is modified"
echo "$PYTHON_MODIFIED_FILES"
exit 1
fi
echo "PYTHON_MODIFIED_FILES=$(echo "$PYTHON_MODIFIED_FILES" | head -n 1)" >> $GITHUB_ENV
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
FILE_COUNT=$(echo "$NUMPY_MODIFIED_FILES" | wc -l)
if [[ $FILE_COUNT -gt 1 ]]; then
echo "More than one numpy_submit.txt file is modified"
echo "$NUMPY_MODIFIED_FILES"
exit 1
fi
echo "NUMPY_MODIFIED_FILES=$(echo "$NUMPY_MODIFIED_FILES" | head -n 1)" >> $GITHUB_ENV
Expand Down Expand Up @@ -118,6 +120,7 @@ jobs:
FILE_COUNT=$(echo "$PANDAS_MODIFIED_FILES" | wc -l)
if [[ $FILE_COUNT -gt 1 ]]; then
echo "More than one pandas_submit.txt file is modified"
echo "$PANDAS_MODIFIED_FILES"
exit 1
fi
echo "PANDAS_MODIFIED_FILES=$(echo "$PANDAS_MODIFIED_FILES" | head -n 1)" >> $GITHUB_ENV
Expand Down

0 comments on commit 31f350f

Please sign in to comment.