Skip to content

Commit

Permalink
TEST-modin-project#2290: revert CI changes
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Myskov <alexander.myskov@intel.com>
  • Loading branch information
amyskov committed Dec 1, 2020
1 parent 9d3bbba commit dd439a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 156 deletions.
82 changes: 4 additions & 78 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ jobs:
- shell: bash -l {0}
run: bash <(curl -s https://codecov.io/bash)

test-ubuntu-all-except-io:
test-all:
needs: [lint-commit, lint-flake8, lint-black, test-api, test-headers]
runs-on: ubuntu-latest
strategy:
Expand All @@ -307,7 +307,7 @@ jobs:
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
name: test-ubuntu all except io part (engine ${{matrix.engine}}, python ${{matrix.python-version}})
name: test-ubuntu (engine ${{matrix.engine}}, python ${{matrix.python-version}})
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -361,41 +361,6 @@ jobs:
run: python -m pytest modin/pandas/test/test_reshape.py
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_general.py
- shell: bash -l {0}
run: bash <(curl -s https://codecov.io/bash)

test-ubuntu-io:
needs: [lint-commit, lint-flake8, lint-black, test-api, test-headers]
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8"]
engine: ["python", "ray", "dask"]
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
name: test-ubuntu io part (engine ${{matrix.engine}}, python ${{matrix.python-version}})
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache pip
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: modin
environment-file: environment.yml
python-version: ${{matrix.python-version}}
channel-priority: strict
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
- name: Conda environment
shell: bash -l {0}
run: |
conda info
conda list
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_io.py
- shell: bash -l {0}
Expand Down Expand Up @@ -475,7 +440,7 @@ jobs:
- shell: bash -l {0}
run: bash <(curl -s https://codecov.io/bash)

test-windows-all-except-io:
test-windows:
needs: [lint-commit, lint-flake8, lint-black, test-api, test-headers]
runs-on: windows-latest
strategy:
Expand All @@ -486,7 +451,7 @@ jobs:
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
name: test-windows all except io part
name: test-windows
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -554,45 +519,6 @@ jobs:
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_general.py
if: matrix.part == 3
- shell: bash -l {0}
run: choco install codecov
- shell: bash -l {0}
run: codecov -f ./coverage.xml

test-windows-io:
needs: [lint-commit, lint-flake8, lint-black, test-api, test-headers]
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8"]
engine: ["ray", "dask"]
part: ["DataFrame", 3]
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
name: test-windows io part
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache pip
uses: actions/cache@v1
with:
path: ~\AppData\Local\pip\Cache
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: modin
environment-file: environment.yml
python-version: ${{matrix.python-version}}
channel-priority: strict
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
auto-update-conda: true # this enable `use-only-tar-bz2` feature on Windows
- name: Conda environment
shell: bash -l {0}
run: |
conda info
conda list
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_io.py
if: matrix.part == 3
Expand Down
82 changes: 4 additions & 78 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
- shell: bash -l {0}
run: bash <(curl -s https://codecov.io/bash)

test-ubuntu-all-except-io:
test-all:
needs: prepare-cache
runs-on: ubuntu-latest
strategy:
Expand All @@ -178,7 +178,7 @@ jobs:
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
name: test-ubuntu all except io part (engine ${{matrix.engine}}, python ${{matrix.python-version}})
name: test-ubuntu (engine ${{matrix.engine}}, python ${{matrix.python-version}})
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -232,49 +232,14 @@ jobs:
run: python -m pytest modin/pandas/test/test_reshape.py
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_general.py
- shell: bash -l {0}
run: bash <(curl -s https://codecov.io/bash)

test-ubuntu-io:
needs: [lint-commit, lint-flake8, lint-black, test-api, test-headers]
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8"]
engine: ["python", "ray", "dask"]
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
name: test-ubuntu io part (engine ${{matrix.engine}}, python ${{matrix.python-version}})
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache pip
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: modin
environment-file: environment.yml
python-version: ${{matrix.python-version}}
channel-priority: strict
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
- name: Conda environment
shell: bash -l {0}
run: |
conda info
conda list
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_io.py
- shell: bash -l {0}
run: python -m pytest modin/experimental/pandas/test/test_io_exp.py
- shell: bash -l {0}
run: bash <(curl -s https://codecov.io/bash)

test-windows-all-except-io:
test-windows:
needs: prepare-cache
runs-on: windows-latest
strategy:
Expand All @@ -285,7 +250,7 @@ jobs:
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
name: test-windows all except io part
name: test-windows
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -353,45 +318,6 @@ jobs:
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_general.py
if: matrix.part == 3
- shell: bash -l {0}
run: choco install codecov
- shell: bash -l {0}
run: codecov -f ./coverage.xml

test-windows-io:
needs: [lint-commit, lint-flake8, lint-black, test-api, test-headers]
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8"]
engine: ["ray", "dask"]
part: ["DataFrame", 3]
env:
MODIN_ENGINE: ${{matrix.engine}}
MODIN_MEMORY: 1000000000
name: test-windows io part
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Cache pip
uses: actions/cache@v1
with:
path: ~\AppData\Local\pip\Cache
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: modin
environment-file: environment.yml
python-version: ${{matrix.python-version}}
channel-priority: strict
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
auto-update-conda: true # this enable `use-only-tar-bz2` feature on Windows
- name: Conda environment
shell: bash -l {0}
run: |
conda info
conda list
- shell: bash -l {0}
run: python -m pytest modin/pandas/test/test_io.py
if: matrix.part == 3
Expand Down

0 comments on commit dd439a5

Please sign in to comment.