Switch from dill to cloudpickle #3200
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
# This workflow is used to test, if the documentation can build | |
name: Docs | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Merge environment | |
run: | | |
cp .ci_support/environment.yml environment.yml | |
tail --lines=+4 .ci_support/environment-docs.yml >> environment.yml | |
- name: Setup Mambaforge | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
miniforge-variant: Mambaforge | |
channels: conda-forge | |
channel-priority: strict | |
activate-environment: my-env | |
environment-file: environment.yml | |
use-mamba: true | |
- name: Documentation | |
shell: bash -l {0} | |
run: | | |
python .ci_support/pyironconfig.py | |
bash .ci_support/pip_install.sh | |
mkdir public_html; cd docs | |
sphinx-build -b html ./ ../public_html || exit 1; | |
cd .. |