Skip to content

Commit

Permalink
update conda config (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt authored Oct 3, 2022
1 parent bca9db5 commit 809e291
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
shell: bash -l {0}
env:
DESC: "Documentation build"
# conda-forge is required to install pydata-sphinx-theme and sphinx-copybutton.
CHANS_DEV: "-c nodefaults -c pyviz/label/dev -c bokeh -c conda-forge"
MPLBACKEND: "Agg"
DISPLAY: ":99.0"
PYTHON_DOCS_VERSION: "3.9"
Expand All @@ -50,14 +48,17 @@ jobs:
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: conda setup
# conda-forge is required to install pydata-sphinx-theme and sphinx-copybutton.
run: |
conda create -n test-environment
conda activate test-environment
conda install ${{ env.CHANS_DEV}} python=${{ env.PYTHON_DOCS_VERSION}} pyctdev
conda config --env --append channels pyviz/label/dev --append channels conda-forge
conda config --env --remove channels defaults
conda install python=${{ env.PYTHON_DOCS_VERSION}} pyctdev
- name: doit develop_install
run: |
conda activate test-environment
doit develop_install ${{ env.CHANS_DEV}} -o doc -o examples
doit develop_install -o doc -o examples
- name: doit env_capture
run: |
conda activate test-environment
Expand Down

0 comments on commit 809e291

Please sign in to comment.