Skip to content

Commit

Permalink
Doc: build the site without pulling the dev dependencies (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Mar 20, 2024
1 parent 2c83c20 commit 80edeb1
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,34 +35,17 @@ jobs:
MOZ_HEADLESS: 1
DISPLAY: ":99.0"
steps:
- uses: actions/checkout@v3
- uses: holoviz-dev/holoviz_tasks/install@v0.1a19
with:
fetch-depth: "100"
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow -f
name: Documentation
python-version: "3.10"
channels: pyviz,conda-forge,nodefaults
envs: "-o doc -o examples_extra"
cache: true
conda-update: true
- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: conda setup
run: |
conda create -n test-environment
conda activate test-environment
conda config --env --append channels pyviz/label/dev --append channels bokeh --append channels conda-forge
conda config --env --remove channels defaults
conda config --env --set channel_priority strict
conda config --env --show-sources
conda install python=3.9 pyctdev
- name: doit develop_install
run: |
conda activate test-environment
doit develop_install -o doc -o examples_extra
- name: doit env_capture
run: |
conda activate test-environment
doit env_capture
- name: download data
run: |
conda activate test-environment
Expand Down

0 comments on commit 80edeb1

Please sign in to comment.