From b70f01ad47998083d30e8b098881dd92b9415079 Mon Sep 17 00:00:00 2001 From: maximlt Date: Fri, 1 Mar 2024 10:49:37 +0100 Subject: [PATCH 1/3] build the site without pyviz/label/dev --- .github/workflows/docs.yaml | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 4d0a0e77..e5a3f1a7 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -35,34 +35,18 @@ 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" + channel-priority: strict + channels: 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 From 56281f1345ef323ae315f1b2978c066177cf30ec Mon Sep 17 00:00:00 2001 From: maximlt Date: Fri, 1 Mar 2024 10:58:43 +0100 Subject: [PATCH 2/3] ah yes we need the pyviz channel for pyctdev --- .github/workflows/docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index e5a3f1a7..2679366e 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -40,7 +40,7 @@ jobs: name: Documentation python-version: "3.10" channel-priority: strict - channels: conda-forge,nodefaults + channels: pyviz,conda-forge,nodefaults envs: "-o doc -o examples_extra" cache: true conda-update: true From acaba677b8f4fcd876cba116dd7b91a0d3cfc7d3 Mon Sep 17 00:00:00 2001 From: maximlt Date: Fri, 1 Mar 2024 11:03:50 +0100 Subject: [PATCH 3/3] remove strict priority perhaps? --- .github/workflows/docs.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 2679366e..69734256 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -39,7 +39,6 @@ jobs: with: name: Documentation python-version: "3.10" - channel-priority: strict channels: pyviz,conda-forge,nodefaults envs: "-o doc -o examples_extra" cache: true