Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Modin smoke test added
Browse files Browse the repository at this point in the history
  • Loading branch information
Garra1980 authored and alexbaden committed Aug 1, 2022
1 parent c385531 commit 3cf7faa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/modin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 6 additions & 0 deletions python/tests/modin/modin_smoke_test.py
Original file line number Diff line number Diff line change
@@ -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'])

0 comments on commit 3cf7faa

Please sign in to comment.