forked from modin-project/modin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-tests.sh
executable file
·33 lines (30 loc) · 1.1 KB
/
run-tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
arg=$1
shift
if [ "$arg" == "" ]; then
arg="all"
fi
if [ "$arg" == "ray" ] || [ "$arg" == "all" ]; then
echo "Running Ray tests"
aws s3 cp --no-sign-request s3://modin-testing/testmondata_ray .
mv testmondata_ray .testmondata
MODIN_ENGINE=ray pytest modin/pandas/test/ $@
fi
if [ "$arg" == "python" ] || [ "$arg" == "all" ]; then
echo "Running Python tests"
aws s3 cp --no-sign-request s3://modin-testing/testmondata_python .
mv testmondata_python .testmondata
MODIN_ENGINE=python pytest modin/pandas/test/ $@
fi
if [ "$arg" == "dask" ] || [ "$arg" == "all" ]; then
echo "Running Dask tests"
aws s3 cp --no-sign-request s3://modin-testing/testmondata_dask .
mv testmondata_dask .testmondata
MODIN_ENGINE=dask pytest modin/pandas/test/ $@
fi
if [ "$arg" == "pyarrow" ] || [ "$arg" == "all" ]; then
echo "Running Pyarrow tests"
aws s3 cp --no-sign-request s3://modin-testing/testmondata_pyarrow .
mv testmondata_pyarrow .testmondata
MODIN_BACKEND=pyarrow MODIN_EXPERIMENTAL=1 pytest modin/pandas/test/test_io.py::test_from_csv $@
fi