From 3cf7faa87890a482ab9cb1c502eb77520cab6a15 Mon Sep 17 00:00:00 2001 From: izamyati Date: Wed, 6 Jul 2022 11:57:47 -0500 Subject: [PATCH] Modin smoke test added --- .github/workflows/modin.yml | 1 + python/tests/modin/modin_smoke_test.py | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 python/tests/modin/modin_smoke_test.py diff --git a/.github/workflows/modin.yml b/.github/workflows/modin.yml index 86b863928f..884293b6a8 100644 --- a/.github/workflows/modin.yml +++ b/.github/workflows/modin.yml @@ -62,3 +62,4 @@ jobs: - name: Run tests run: | $CONDA/bin/conda run -n ${{ env.CONDA_ENV }} sh -c "python -c 'import pyhdk'" + $CONDA/bin/conda run -n ${{ env.CONDA_ENV }} sh -c "pwd && python python/tests/modin/modin_smoke_test.py" diff --git a/python/tests/modin/modin_smoke_test.py b/python/tests/modin/modin_smoke_test.py new file mode 100644 index 0000000000..74f8afe430 --- /dev/null +++ b/python/tests/modin/modin_smoke_test.py @@ -0,0 +1,6 @@ +import os +os.environ['MODIN_STORAGE_FORMAT'] = 'omnisci' +import modin.pandas as pd +a = pd.DataFrame([[1, 11]], columns=['a', 'b']) +a['a'] = a['a'] + a['b'] +print(a['a']) \ No newline at end of file