ci: use sudo to apt

This commit is contained in:
William Ballenthin
2020-09-22 11:20:15 -06:00
parent 041e443619
commit 4b066e908c
2 changed files with 2 additions and 3 deletions

View File

@@ -31,8 +31,7 @@ jobs:
with:
python-version: 2.7
- if: matrix.os == 'ubuntu-latest'
run: |
apt-get install -y libyaml-dev
run: sudo apt-get install -y libyaml-dev
- name: Install PyInstaller
# pyinstaller 4 doesn't support Python 2.7
run: pip install 'pyinstaller==3.*'

View File

@@ -62,7 +62,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install pyyaml
run: apt-get install -y libyaml-dev
run: sudo apt-get install -y libyaml-dev
- name: Install capa
run: pip install -e .[dev]
- name: Run tests