start using to/from_legacy_dataframe instead of to/from_dask_dataframe #1193
Workflow file for this run
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
name: Additional | |
on: [push, pull_request] | |
# Required shell entrypoint to have properly activated conda environments | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
doctest: | |
runs-on: "ubuntu-latest" | |
timeout-minutes: 90 | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
- name: Setup Conda Environment | |
uses: conda-incubator/[email protected] | |
with: | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: true | |
channel-priority: strict | |
environment-file: continuous_integration/environment-3.12.yaml | |
activate-environment: test-environment | |
auto-activate-base: false | |
- name: Install | |
run: source continuous_integration/scripts/install.sh | |
- name: Turn off dask-expr config option for legacy doctests | |
run: echo DASK_DATAFRAME__QUERY_PLANNING=False >> $GITHUB_ENV | |
- name: Run tests | |
run: pytest -v --doctest-modules --ignore-glob='*/test_*.py' dask | |
imports: | |
runs-on: "ubuntu-latest" | |
timeout-minutes: 90 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
- name: Setup Conda | |
uses: conda-incubator/[email protected] | |
with: | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: true | |
channel-priority: strict | |
python-version: "3.9" | |
activate-environment: test-environment | |
auto-activate-base: false | |
- name: Run import tests | |
env: | |
PYTHON_VERSION: ${{ matrix.python-version }} | |
run: source continuous_integration/scripts/test_imports.sh |