Install system libraries only for ubuntu-based envs

This commit is contained in:
Eugenio Lacuesta 2020-12-14 15:02:30 -03:00
parent 7045d2c32e
commit 3143791569
No known key found for this signature in database
GPG Key ID: DA3EF2D0913E9810
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install system libraries
if: matrix.python-version == 'pypy3' || contains(matrix.env.TOXENV, 'pinned')
if: startsWith(matrix.os, 'ubuntu') && (matrix.python-version == 'pypy3' || contains(matrix.env.TOXENV, 'pinned'))
run: |
sudo apt-get update
sudo apt-get install libxml2-dev libxslt-dev