From 7e98e106635bb799f723ad37d94dd23809621c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20P=2E=20Ren=C3=A9=20de=20Cotret?= Date: Wed, 13 Sep 2023 08:49:04 -0400 Subject: [PATCH] CI: install bokeh for GitHub Pages workflows only (#62) --- .github/workflows/gh-pages.yml | 4 ++-- .github/workflows/gh_pages_requirements.txt | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/gh_pages_requirements.txt diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 9c79193..82381aa 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -53,7 +53,7 @@ jobs: name: Cache Python build artifacts with: path: ~/.cache/pip - key: ${{ runner.os }}-${{ hashFiles('.github/workflows/requirements.txt') }} + key: ${{ runner.os }}-${{ hashFiles('.github/workflows/gh_pages_requirements.txt') }} - name: Install pandoc-plot and other dependencies run: | @@ -63,7 +63,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - pip install -r .github/workflows/requirements.txt + pip install -r .github/workflows/gh_pages_requirements.txt - name: Build documentation run: source tools/mkmanual.sh diff --git a/.github/workflows/gh_pages_requirements.txt b/.github/workflows/gh_pages_requirements.txt new file mode 100644 index 0000000..5dccd3c --- /dev/null +++ b/.github/workflows/gh_pages_requirements.txt @@ -0,0 +1,5 @@ +bokeh >= 3, <4 +matplotlib >= 3, <4 +selenium >= 4, <5 +pandas >= 1, <2 +pandocfilters >= 1.5, <2