Skip to content

Commit 540bfa9

Browse files
committed
CI: Run ASV on Travis for failed benchmarks
1 parent 787ab55 commit 540bfa9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ci/lint.sh

+10
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,16 @@ if [ "$LINT" ]; then
125125
RET=1
126126
fi
127127
echo "Check for deprecated messages without sphinx directive DONE"
128+
129+
echo "Check for failed asv benchmarks"
130+
cd asv_bench
131+
asv run --quick | grep "failed"
132+
133+
if [ $? = "0" ]; then
134+
RET=1
135+
fi
136+
echo "Check for failed asv benchmarks DONE"
137+
128138
else
129139
echo "NOT Linting"
130140
fi

0 commit comments

Comments
 (0)