Skip to content

Add test for issue 10442 (exclusive file mode and single_file datafra… #280

Add test for issue 10442 (exclusive file mode and single_file datafra…

Add test for issue 10442 (exclusive file mode and single_file datafra… #280

Workflow file for this run

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/checkout@v3.5.3
- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2.2.0
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
channel-priority: strict
python-version: "3.10"
environment-file: continuous_integration/environment-3.10.yaml
activate-environment: test-environment
auto-activate-base: false
- name: Install
run: source continuous_integration/scripts/install.sh
- 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"]
steps:
- name: Checkout source
uses: actions/checkout@v3.5.3
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v2.2.0
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