Skip to content

Commit 172ab84

Browse files
committed
WIP: modify CI to account for removed pin.
1 parent d280737 commit 172ab84

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,19 @@ jobs:
2626
run: |
2727
python -m venv venv
2828
source venv/bin/activate
29-
30-
- name: Install
31-
run: |
3229
python -m pip install --upgrade pip wheel setuptools
3330
python -m pip install -r requirements/test.txt -r doc/requirements.txt
3431
python -m pip install codecov
3532
python -m pip install ${{ matrix.sphinx-version }}
33+
python -m pip list
34+
35+
- name: Downgrade Jinja2 for sphinx<4
36+
if: (${{ matrix.sphinx-version }} == 'sphinx==1.8.0') ||
37+
(${{ matrix.sphinx-version }} == 'sphinx==2.1')
38+
run: python -m pip install jinja2==3.0.3
39+
40+
- name: Install
41+
run: |
3642
python -m pip install .
3743
pip list
3844

0 commit comments

Comments
 (0)