Skip to content

Commit

Permalink
REFACTOR-#1527: split test_dataframe.py into several others (#1995)
Browse files Browse the repository at this point in the history
Signed-off-by: Alina <alina.bykovskaya@intel.com>
  • Loading branch information
abykovsk committed Sep 1, 2020
1 parent 790b196 commit ff6ff0d
Show file tree
Hide file tree
Showing 13 changed files with 6,621 additions and 6,119 deletions.
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

0 comments on commit ff6ff0d

Please sign in to comment.