forked from modin-project/modin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into row_wise_udfs
- Loading branch information
Showing
98 changed files
with
2,510 additions
and
1,709 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: "Install environment using Mamba" | ||
description: "Prepare the environment to run Modin" | ||
inputs: | ||
python-version: | ||
description: "Python version to install" | ||
default: "3.8" | ||
environment-file: | ||
description: "Conda environment yml" | ||
required: true | ||
activate-environment: | ||
description: "Conda environment to activate" | ||
default: "modin" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Get current week | ||
id: get-week | ||
# use current week as cache key to periodically refresh the cache, | ||
# as cache is based on requirements, but dependencies push | ||
# updated versions at some irregular pace | ||
run: echo "thisweek=$(/bin/date -u '+%Y.w%W')" >> $GITHUB_OUTPUT | ||
shell: bash | ||
- name: Cache conda | ||
id: cache-conda | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/conda_pkgs_dir | ||
~/.cache/pip | ||
key: | ||
${{ runner.os }}-conda-${{ steps.get-week.outputs.thisweek }}-${{ hashFiles(inputs.environment-file) }} | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
miniforge-variant: Mambaforge | ||
miniforge-version: latest | ||
use-mamba: true | ||
activate-environment: ${{ inputs.activate-environment }} | ||
environment-file: ${{ inputs.environment-file }} | ||
python-version: ${{ inputs.python-version }} | ||
channel-priority: strict | ||
# we set use-only-tar-bz2 to false in order for conda to properly find new packages to be installed | ||
# for more info see https://github.com/conda-incubator/setup-miniconda/issues/264 | ||
use-only-tar-bz2: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "Install Python only" | ||
description: "Prepare the environment to run simple tasks" | ||
inputs: | ||
python-version: | ||
description: "Python version to install" | ||
default: "3.8.x" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ inputs.python-version }} | ||
architecture: "x64" | ||
cache: 'pip' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "Run core Modin tests" | ||
description: "Run core Modin tests like dataframe or groupby" | ||
inputs: | ||
runner: | ||
description: "Runner for tests" | ||
default: "python -m pytest" | ||
parallel: | ||
description: "How to run tests in parallel" | ||
default: "-n 2" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: ./.github/actions/run-core-tests/group_1 | ||
with: | ||
runner: ${{ inputs.runner }} | ||
parallel: ${{ inputs.parallel }} | ||
- uses: ./.github/actions/run-core-tests/group_2 | ||
with: | ||
runner: ${{ inputs.runner }} | ||
parallel: ${{ inputs.parallel }} | ||
- uses: ./.github/actions/run-core-tests/group_3 | ||
with: | ||
runner: ${{ inputs.runner }} | ||
parallel: ${{ inputs.parallel }} | ||
- uses: ./.github/actions/run-core-tests/group_4 | ||
with: | ||
runner: ${{ inputs.runner }} | ||
parallel: ${{ inputs.parallel }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Run core Modin tests - group 1" | ||
description: "Run core Modin tests like dataframe or groupby" | ||
inputs: | ||
runner: | ||
description: "Runner for tests" | ||
default: "python -m pytest" | ||
parallel: | ||
description: "How to run tests in parallel" | ||
default: "-n 2" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- run: | | ||
echo "::group::Running dataframe tests (group 1)..." | ||
${{ inputs.runner }} ${{ inputs.parallel }} modin/pandas/test/dataframe/test_binary.py \ | ||
modin/pandas/test/dataframe/test_default.py \ | ||
modin/pandas/test/dataframe/test_indexing.py \ | ||
modin/pandas/test/dataframe/test_iter.py | ||
echo "::endgroup::" | ||
shell: bash -l {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: "Run core Modin tests - group 2" | ||
description: "Run core Modin tests like dataframe or groupby" | ||
inputs: | ||
runner: | ||
description: "Runner for tests" | ||
default: "python -m pytest" | ||
parallel: | ||
description: "How to run tests in parallel" | ||
default: "-n 2" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- run: | | ||
echo "::group::Running dataframe tests (group 2)..." | ||
${{ inputs.runner }} ${{ inputs.parallel }} modin/pandas/test/dataframe/test_join_sort.py \ | ||
modin/pandas/test/dataframe/test_reduce.py \ | ||
modin/pandas/test/dataframe/test_udf.py \ | ||
modin/pandas/test/dataframe/test_window.py \ | ||
modin/pandas/test/dataframe/test_pickle.py | ||
echo "::endgroup::" | ||
shell: bash -l {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: "Run core Modin tests - group 3" | ||
description: "Run core Modin tests like dataframe or groupby" | ||
inputs: | ||
runner: | ||
description: "Runner for tests" | ||
default: "python -m pytest" | ||
parallel: | ||
description: "How to run tests in parallel" | ||
default: "-n 2" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- run: | | ||
echo "::group::Running tests (group 3)..." | ||
${{ inputs.runner }} ${{ inputs.parallel }} modin/pandas/test/test_series.py \ | ||
modin/pandas/test/dataframe/test_map_metadata.py | ||
echo "::endgroup::" | ||
shell: bash -l {0} | ||
- run: | | ||
echo "::group::Running experimental groupby tests (group 3)..." | ||
MODIN_EXPERIMENTAL_GROUPBY=1 ${{ inputs.runner }} ${{ inputs.parallel }} modin/pandas/test/test_groupby.py | ||
echo "::endgroup::" | ||
shell: bash -l {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: "Run core Modin tests - group 4" | ||
description: "Run core Modin tests like dataframe or groupby" | ||
inputs: | ||
runner: | ||
description: "Runner for tests" | ||
default: "python -m pytest" | ||
parallel: | ||
description: "How to run tests in parallel" | ||
default: "-n 2" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- run: | | ||
echo "::group::Running tests (group 4)..." | ||
${{ inputs.runner }} ${{ inputs.parallel }} modin/pandas/test/test_rolling.py \ | ||
modin/pandas/test/test_expanding.py \ | ||
modin/pandas/test/test_groupby.py \ | ||
modin/pandas/test/test_reshape.py \ | ||
modin/pandas/test/test_general.py | ||
echo "::endgroup::" | ||
shell: bash -l {0} | ||
- run: | | ||
echo "::group::Running concat tests (group 4)..." | ||
${{ inputs.runner }} modin/pandas/test/test_concat.py # Ray and Dask versions fails with -n 2 | ||
echo "::endgroup::" | ||
shell: bash -l {0} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.