add pytest-xdist

This commit is contained in:
Ogi Moore 2020-12-21 23:19:38 -08:00
parent a7d9034f83
commit e7f64a8fc1

View File

@ -49,7 +49,7 @@ jobs:
run: |
pip install ${{ matrix.qt-lib }}${{ matrix.qt-version }} numpy${{ matrix.numpy-version }} scipy pyopengl h5py six matplotlib
pip install .
pip install pytest pytest-cov coverage
pip install pytest pytest-cov pytest-xdist coverage
- name: "Install Linux VirtualDisplay"
if: runner.os == 'Linux'
run: |
@ -81,6 +81,7 @@ jobs:
- name: Run Tests
run: |
pytest . -v \
-n auto \
--junitxml=junit/test-results.xml \
--cov pyqtgraph --cov-report=xml --cov-report=html
shell: bash