Skip to content

Commit 56cdac6

Browse files
committed
create asv.sh
1 parent 540bfa9 commit 56cdac6

File tree

2 files changed

+24
-10
lines changed

2 files changed

+24
-10
lines changed

ci/asv.sh

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
echo "inside $0"
4+
5+
source activate pandas
6+
7+
RET=0
8+
9+
if [ "$ASV" ]; then
10+
echo "Check for failed asv benchmarks"
11+
12+
pip install git+https://github.com/spacetelescope/asv
13+
14+
cd asv_bench
15+
16+
asv run --quick | grep "failed"
17+
18+
if [ $? = "0" ]; then
19+
RET=1
20+
fi
21+
echo "Check for failed asv benchmarks DONE"
22+
fi
23+
24+
exit $RET

ci/lint.sh

-10
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,6 @@ 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-
138128
else
139129
echo "NOT Linting"
140130
fi

0 commit comments

Comments
 (0)