summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent P. René de Cotret <laurent.decotret@outlook.com>2023-09-13 08:49:04 -0400
committerLaurent P. René de Cotret <laurent.decotret@outlook.com>2023-09-13 08:49:04 -0400
commit7e98e106635bb799f723ad37d94dd23809621c1e (patch)
treee0122e917e2c288e15d1f6f7b8d8104516b1361e
parent0d13d1805f6e4c00cd37d0472132e1af799c98ea (diff)
CI: install bokeh for GitHub Pages workflows only (#62)
-rw-r--r--.github/workflows/gh-pages.yml4
-rw-r--r--.github/workflows/gh_pages_requirements.txt5
2 files changed, 7 insertions, 2 deletions
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