Skip to content

Commit

Permalink
CI: fix the docs build solve (#5553)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt authored Dec 9, 2022
1 parent 99e138b commit a0e9346
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
miniconda-version: "latest"
mamba-version: "*"
channels: pyviz/label/dev,bokeh/label/dev,conda-forge
channels: pyviz/label/dev,conda-forge
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow -f
- name: Set output
Expand All @@ -56,16 +56,19 @@ jobs:
- name: conda setup
run: |
conda config --remove channels defaults
conda create -n test-environment python=3.8 pyctdev
- name: doit develop_install
conda config --set channel_priority strict
conda create -n test-environment python=3.9 pyctdev
conda create -n push-environment python=3.9 awscli
- name: conda info and show sources
run: |
conda activate test-environment
conda info
conda list
conda config --show-sources
conda config --show
- name: doit develop_install
run: |
conda activate test-environment
doit develop_install -o doc --conda-mode=mamba
mamba install geckodriver selenium awscli
- name: doit env_capture
run: |
conda activate test-environment
Expand All @@ -91,12 +94,12 @@ jobs:
(github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||
(github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
run: |
conda activate test-environment
conda activate push-environment
aws s3 sync --quiet ./builtdocs s3://dev.holoviews.org/
- name: upload main
if: |
(github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||
(github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
run: |
conda activate test-environment
conda activate push-environment
aws s3 sync --quiet ./builtdocs s3://holoviews.org/
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
'pydata-sphinx-theme ==0.9.0',
'sphinx-copybutton',
'pooch',
'selenium',
]

extras_require['all'] = sorted(set(sum(extras_require.values(), [])))
Expand Down

0 comments on commit a0e9346

Please sign in to comment.