Adding PySide6 to CI
Install package for libopengl.so Mandate the use of ubuntu 20.04
This commit is contained in:
parent
e03d4be767
commit
21c5627282
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
@ -9,19 +9,34 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-20.04 , windows-latest, macos-latest]
|
||||||
qt-lib: [pyqt5, pyside2]
|
qt-lib: [pyqt, pyside]
|
||||||
python-version: [3.7, 3.8, 3.9]
|
python-version: [3.7, 3.8, 3.9]
|
||||||
include:
|
include:
|
||||||
- python-version: "3.7"
|
- python-version: "3.7"
|
||||||
qt-version: "~=5.12.0"
|
qt-lib: "pyqt"
|
||||||
|
qt-version: "PyQt5~=5.12.0"
|
||||||
|
numpy-version: "~=1.17.0"
|
||||||
|
- python-version: "3.7"
|
||||||
|
qt-lib: "pyside"
|
||||||
|
qt-version: "PySide2~=5.12.0"
|
||||||
numpy-version: "~=1.17.0"
|
numpy-version: "~=1.17.0"
|
||||||
- python-version: "3.8"
|
- python-version: "3.8"
|
||||||
qt-version: "~=5.15.0"
|
qt-lib: "pyqt"
|
||||||
|
qt-version: "PyQt5~=5.15.0"
|
||||||
|
numpy-version: "~=1.19.0"
|
||||||
|
- python-version: "3.8"
|
||||||
|
qt-lib: "pyside"
|
||||||
|
qt-version: "PySide2~=5.15.0"
|
||||||
numpy-version: "~=1.19.0"
|
numpy-version: "~=1.19.0"
|
||||||
- python-version: "3.9"
|
- python-version: "3.9"
|
||||||
qt-version: ""
|
qt-lib: "pyqt"
|
||||||
numpy-version: ""
|
qt-version: "PyQt5~=5.15"
|
||||||
|
numpy-version: "~=1.19.0"
|
||||||
|
- python-version: "3.9"
|
||||||
|
qt-lib: "pyside"
|
||||||
|
qt-version: "PySide6"
|
||||||
|
numpy-version: "~=1.19.0"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
@ -49,7 +64,7 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install ${{ matrix.qt-lib }}${{ matrix.qt-version }} numpy${{ matrix.numpy-version }} scipy pyopengl h5py six matplotlib
|
pip install ${{ matrix.qt-version }} numpy${{ matrix.numpy-version }} scipy pyopengl h5py six matplotlib
|
||||||
pip install .
|
pip install .
|
||||||
pip install pytest pytest-cov pytest-xdist coverage
|
pip install pytest pytest-cov pytest-xdist coverage
|
||||||
- name: "Install Linux VirtualDisplay"
|
- name: "Install Linux VirtualDisplay"
|
||||||
@ -57,6 +72,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y libxkbcommon-x11-0 x11-utils
|
sudo apt-get install -y libxkbcommon-x11-0 x11-utils
|
||||||
sudo apt-get install --no-install-recommends -y libyaml-dev libegl1-mesa libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0
|
sudo apt-get install --no-install-recommends -y libyaml-dev libegl1-mesa libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0
|
||||||
|
sudo apt-get install -y libopengl0
|
||||||
pip install pytest-xvfb
|
pip install pytest-xvfb
|
||||||
- name: 'Debug Info'
|
- name: 'Debug Info'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user