Skip fastparquet tests for numpy 2 (#11103) #2033
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: Conda build | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
paths: | |
- setup.py | |
- continuous_integration/recipe/** | |
- .github/workflows/conda.yml | |
- pyproject.toml | |
# When this workflow is queued, automatically cancel any previous running | |
# or pending jobs from the same branch | |
concurrency: | |
group: conda-${{ github.ref }} | |
cancel-in-progress: true | |
# Required shell entrypoint to have properly activated conda environments | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
conda: | |
name: Build (and upload) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: conda-incubator/setup-miniconda@v3.0.4 | |
with: | |
miniforge-variant: Mambaforge | |
use-mamba: true | |
python-version: 3.9 | |
channel-priority: strict | |
- name: Install dependencies | |
run: | | |
mamba install -c conda-forge boa conda-verify | |
which python | |
pip list | |
mamba list | |
- name: Build conda package | |
run: | | |
# suffix for nightly package versions | |
export VERSION_SUFFIX=a`date +%y%m%d` | |
conda mambabuild continuous_integration/recipe \ | |
--no-anaconda-upload \ | |
--output-folder . | |
- name: Upload conda package | |
if: github.event_name == 'push' && github.repository == 'dask/dask' | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.DASK_CONDA_TOKEN }} | |
run: | | |
# install anaconda for upload | |
mamba install -c conda-forge anaconda-client | |
anaconda upload --label dev noarch/*.tar.bz2 |