Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: build the site without pulling the dev dependencies #711

Merged
merged 4 commits into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading