Update tox.ini config

This commit is contained in:
Ogi Moore 2021-04-15 22:50:59 -07:00
parent 342fbb053f
commit a231c9ffb0
1 changed files with 18 additions and 24 deletions

42
tox.ini
View File

@ -1,43 +1,37 @@
[tox] [tox]
envlist = envlist =
; qt latest ; qt 5.15.x
py{37,38}-{pyqt5,pyside2}_latest py{37,38,39}-{pyqt5,pyside2}_515
; qt 5.12.x (LTS) ; qt 5.12.x
py{36,37}-{pyqt5,pyside2}_512 py{37}-{pyqt5,pyside2}_512
; py38-pyside2_512 doesn't work due to PYSIDE-1140
py38-pyqt5_512
; qt 5.9.7 (LTS) ; qt 6
py36-{pyqt5,pyside2}_59_conda py{37,38,39}-{pyqt6,pyside6}
[base] [base]
deps = deps =
pytest pytest
pytest-xdist
numpy numpy
scipy scipy
pyopengl pyopengl
flake8 h5py
coverage
[testenv] [testenv]
passenv = DISPLAY XAUTHORITY passenv = DISPLAY XAUTHORITY, PYTHON_VERSION
setenv = PYTHONWARNINGS=ignore:DEPRECATION::pip._internal.cli.base_command setenv = PYTHONWARNINGS=ignore:DEPRECATION::pip._internal.cli.base_command
deps= deps=
{[base]deps} {[base]deps}
pytest-cov pyside2_512: pyside2==5.12.6
h5py pyqt5_512: pyqt5==5.12.3
pyside2_512: pyside2>=5.12,<5.13 pyside2_515: pyside2
pyqt5_512: pyqt5>=5.12,<5.13 pyqt5_515: pyqt5
pyside2_latest: pyside2 pyqt6: pyqt6
pyqt5_latest: pyqt5 pyside6: pyside6
conda_deps=
pyside2_59_conda: pyside2=5.9
pyqt5_59_conda: pyqt=5.9
conda_channels=
conda-forge
free
commands= commands=
python -c "import pyqtgraph as pg; pg.systemInfo()" python -c "import pyqtgraph as pg; pg.systemInfo()"
pytest {posargs:} pytest -n auto {posargs:}