Skip to content

Commit ec4a310

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

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,20 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424

2525
- name: Setup environment
26-
run: |
27-
python -m venv venv
28-
source venv/bin/activate
29-
30-
- name: Install
3126
run: |
3227
python -m pip install --upgrade pip wheel setuptools
3328
python -m pip install -r requirements/test.txt -r doc/requirements.txt
3429
python -m pip install codecov
3530
python -m pip install ${{ matrix.sphinx-version }}
31+
python -m pip list
32+
33+
- name: Downgrade Jinja2 for sphinx<4
34+
if: (${{ matrix.sphinx-version }} == 'sphinx==1.8.0') ||
35+
(${{ matrix.sphinx-version }} == 'sphinx==2.1')
36+
run: python -m pip install jinja2==3.0.3
37+
38+
- name: Install
39+
run: |
3640
python -m pip install .
3741
pip list
3842

0 commit comments

Comments
 (0)