Skip to content

Commit

Permalink
TEST-#2598: Add test for clean install from source (#2599)
Browse files Browse the repository at this point in the history
* TEST-#2598: Add test for clean install from source

* Resolves #2598

This change adds a test for installing Modin without all of the testing
dependencies.

It is intended to test how a user who does not have all of the test
dependencies will see a Modin import.

* TEST-#2598: Target Python3

Signed-off-by: Devin Petersohn <devin.petersohn@gmail.com>
  • Loading branch information
devin-petersohn authored Jan 12, 2021
1 parent 9a6695d commit ff9bdbf
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,44 @@ jobs:
shell: bash -l {0}
run: python -m pytest modin/test/test_headers.py

test-clean-install-ubuntu:
needs: [lint-commit, lint-flake8, lint-black, test-api, test-headers]
runs-on: ubuntu-latest
name: test-clean-install-ubuntu
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/setup-python@v2
with:
python-version: "3.7.x"
architecture: "x64"
- name: Clean install and run
shell: bash -l {0}
run: |
python -m pip install -e .[all]
MODIN_ENGINE=dask python -c "import modin.pandas as pd; print(pd.DataFrame([1,2,3]))"
MODIN_ENGINE=ray python -c "import modin.pandas as pd; print(pd.DataFrame([1,2,3]))"
test-clean-install-windows:
needs: [ lint-commit, lint-flake8, lint-black, test-api, test-headers ]
runs-on: windows-latest
name: test-clean-install-windows
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/setup-python@v2
with:
python-version: "3.7.x"
architecture: "x64"
- name: Clean install and run
shell: bash -l {0}
run: |
python -m pip install -e .[all]
MODIN_ENGINE=dask python -c "import modin.pandas as pd; print(pd.DataFrame([1,2,3]))"
MODIN_ENGINE=ray python -c "import modin.pandas as pd; print(pd.DataFrame([1,2,3]))"
test-internals:
needs: [lint-commit, lint-flake8, lint-black, test-api, test-headers]
runs-on: ubuntu-latest
Expand Down

0 comments on commit ff9bdbf

Please sign in to comment.