We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fc4417 commit 0be70eeCopy full SHA for 0be70ee
ci/code_checks.sh
@@ -105,7 +105,12 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then
105
106
# Imports - Check formatting using isort see setup.cfg for settings
107
MSG='Check import format using isort ' ; echo $MSG
108
- isort --recursive --check-only pandas asv_bench
+ ISORT_CMD="isort --recursive --check-only pandas asv_bench"
109
+ if [[ "$GITHUB_ACTIONS" == "true" ]]; then
110
+ eval $ISORT_CMD | awk '{print "##[error]" $0}'; RET=$(($RET + ${PIPESTATUS[0]}))
111
+ else
112
+ eval $ISORT_CMD
113
+ fi
114
RET=$(($RET + $?)) ; echo $MSG "DONE"
115
116
fi
0 commit comments