-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doc: build the site without pulling the dev dependencies (#711)
- Loading branch information
Showing
1 changed file
with
7 additions
and
24 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,34 +35,17 @@ jobs: | |
MOZ_HEADLESS: 1 | ||
DISPLAY: ":99.0" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: holoviz-dev/holoviz_tasks/[email protected] | ||
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 | ||
|