Skip to content

Commit cf8084c

Browse files
authored
Install libgl1 for Linux Qt5 tests
1 parent e016c52 commit cf8084c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ jobs:
2424
os:
2525
- name: Linux
2626
runs-on: ubuntu-latest
27+
python_platform: linux
2728
container: docker://python:{0}-buster
2829
- name: Windows
2930
runs-on: windows-latest
31+
python_platform: win32
3032
- name: macOS
3133
runs-on: macos-latest
34+
python_platform: darwin
3235
python:
3336
- name: CPython 2.7
3437
tox: py27
@@ -53,10 +56,13 @@ jobs:
5356
reactor:
5457
- name: default
5558
tox: default
59+
dependencies: default
5660
- name: Qt5
5761
tox: qt5
62+
dependencies: asyncio
5863
- name: asyncio
5964
tox: asyncio
65+
dependencies: asyncio
6066
exclude:
6167
- python:
6268
tox: py27
@@ -73,6 +79,11 @@ jobs:
7379
with:
7480
python-version: ${{ matrix.python.action }}
7581
architecture: x64
82+
- name: Install Linux Qt5 dependencies
83+
if: matrix.os.python_platform == 'linux' and matrix.reactor.dependencies == 'qt5'
84+
run: |
85+
apt-get update --yes
86+
apt-get install --yes libgl1
7687
- name: Install
7788
run: |
7889
pip install tox

0 commit comments

Comments
 (0)