Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REFACTOR-#1527: split test_dataframe.py into several others #1995

Merged
merged 1 commit into from
Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
matrix:
python-version: ["3.6", "3.7", "3.8"]
engine: ["python", "ray", "dask"]
part: ["Reduction", "Binary", "MapMetadata", "UDF", "Default", "Window", "Indexing", "Iter", "JoinSort", 3]
part: ["reduction", "binary", "map_metadata", "udf", "default", "window", "indexing", "iter", "join_sort", 3]
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
if: matrix.part == 3
run: sudo apt update && sudo apt install -y libhdf5-dev
- shell: bash -l {0}
run: pytest modin/pandas/test/ -k "TestDataFrame${{matrix.part}}"
run: pytest modin/pandas/test/dataframe/test_${{matrix.part}}.py
if: matrix.part != 3
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_series.py
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
conda info
conda list
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_dataframe.py::TestDataFrameMapMetadata
run: python -m pytest modin/pandas/test/dataframe/test_map_metadata.py
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_series.py
- shell: bash -l {0}
Expand All @@ -284,7 +284,7 @@ jobs:
matrix:
python-version: ["3.6", "3.7", "3.8"]
engine: ["ray", "dask"]
part: ["Reduction", "Binary", "MapMetadata", "UDF", "Default", "Window", "Indexing", "Iter", "JoinSort", 3]
part: ["reduction", "binary", "map_metadata", "udf", "default", "window", "indexing", "iter", "join_sort", 3]
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
conda info
conda list
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_dataframe.py::TestDataFrame${{matrix.part}}
run: python -m pytest modin/pandas/test/dataframe/test_${{matrix.part}}.py
if: matrix.part != 3
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_series.py
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
matrix:
python-version: ["3.6", "3.7", "3.8"]
engine: ["python", "ray", "dask"]
part: ["Reduction", "Binary", "MapMetadata", "UDF", "Default", "Window", "Indexing", "Iter", "JoinSort", 3]
part: ["reduction", "binary", "map_metadata", "udf", "default", "window", "indexing", "iter", "join_sort", 3]
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
if: matrix.part == 3
run: sudo apt update && sudo apt install -y libhdf5-dev
- shell: bash -l {0}
run: pytest modin/pandas/test/ -k "TestDataFrame${{matrix.part}}"
run: pytest modin/pandas/test/dataframe/test_${{matrix.part}}.py
if: matrix.part != 3
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_series.py
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
matrix:
python-version: ["3.6", "3.7", "3.8"]
engine: ["ray", "dask"]
part: ["Reduction", "Binary", "MapMetadata", "UDF", "Default", "Window", "Indexing", "Iter", "JoinSort", 3]
part: ["reduction", "binary", "map_metadata", "udf", "default", "window", "indexing", "iter", "join_sort", 3]
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
conda info
conda list
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_dataframe.py::TestDataFrame${{matrix.part}}
run: python -m pytest modin/pandas/test/dataframe/test_${{matrix.part}}.py
if: matrix.part != 3
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_series.py
Expand Down
12 changes: 12 additions & 0 deletions modin/pandas/test/dataframe/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Licensed to Modin Development Team under one or more contributor license agreements.
# See the NOTICE file distributed with this work for additional information regarding
# copyright ownership. The Modin Development Team licenses this file to you under the
# Apache License, Version 2.0 (the "License"); you may not use this file except in
# compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
# ANY KIND, either express or implied. See the License for the specific language
# governing permissions and limitations under the License.
Loading