mirror of
https://github.com/modin-project/modin.git
synced 2026-03-27 10:41:03 +00:00
52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
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-main.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.9"]
|
|
engine: ["ray", "dask"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ./.github/actions/mamba-env
|
|
with:
|
|
environment-file: environment-dev.yml
|
|
python-version: ${{matrix.python-version}}
|
|
- name: test-fuzzydata (engine ${{matrix.engine}}, python ${{matrix.python-version}})
|
|
run: python -m pytest modin/tests/experimental/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@v4
|
|
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
|
|
include-hidden-files: true
|