Skip to content

FEAT-#6139: 🔥 DataLoader interplay. #4291

FEAT-#6139: 🔥 DataLoader interplay.

FEAT-#6139: 🔥 DataLoader interplay. #4291

Workflow file for this run

name: fuzzy
on:
pull_request:
paths:
# NOTE: keep these paths in sync with the paths that trigger the CI Github
# Actions in .github/workflows/ci.yml
- .github/workflows/**
- '!.github/workflows/push-to-master.yml'
- asv_bench/**
- modin/**
- requirements/**
- scripts/**
- environment-dev.yml
- requirements-dev.txt
- setup.cfg
- setup.py
- versioneer.py
concurrency:
# Cancel other jobs in the same branch. We don't care whether CI passes
# on old commits.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
env:
MODIN_GITHUB_CI: true
jobs:
test-fuzzydata:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python-version: ["3.8"]
engine: ["ray", "dask"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Cache conda
uses: actions/cache@v3
with:
path: |
~/conda_pkgs_dir
~/.cache/pip
key:
${{ runner.os }}-conda-${{ hashFiles('environment-dev.yml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
activate-environment: modin
environment-file: environment-dev.yml
python-version: 3.8
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
- name: Conda environment
run: |
conda info
conda list
- name: test-fuzzydata (engine ${{matrix.engine}}, python ${{matrix.python-version}})
run: python -m pytest modin/experimental/fuzzydata/test/test_fuzzydata.py -Wignore::UserWarning --log-file=/tmp/fuzzydata-test-wf-${{matrix.engine}}/run.log --log-file-level=INFO
env:
MODIN_ENGINE: ${{matrix.engine}}
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: fuzzydata-test-workflow-${{matrix.engine}}
path: /tmp/fuzzydata-test-wf-${{matrix.engine}}/* # Must match output dir in test_fuzzydata.py
if-no-files-found: error