Skip to content

Commit 3bbfacf

Browse files
committed
CI: Improve installing dependencies. Handle PyPy separately.
1 parent 957cbb8 commit 3bbfacf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@ jobs:
3333
cache: 'pip'
3434
cache-dependency-path: 'setup.cfg'
3535

36+
- name: Install dependencies for PyPy
37+
if: startsWith(matrix.python-version, 'pypy')
38+
run: |
39+
sudo apt-get install libxml2-dev libxslt-dev
40+
3641
- name: Install dependencies
3742
run: |
38-
sudo apt-get install libxml2-dev libxslt-dev # Only needed for PyPy.
3943
python -m pip install --upgrade pip
4044
python -m pip install --editable=.[test,develop]
4145

0 commit comments

Comments
 (0)