add pytest-xdist
This commit is contained in:
parent
a7d9034f83
commit
e7f64a8fc1
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install ${{ matrix.qt-lib }}${{ matrix.qt-version }} numpy${{ matrix.numpy-version }} scipy pyopengl h5py six matplotlib
|
pip install ${{ matrix.qt-lib }}${{ matrix.qt-version }} numpy${{ matrix.numpy-version }} scipy pyopengl h5py six matplotlib
|
||||||
pip install .
|
pip install .
|
||||||
pip install pytest pytest-cov coverage
|
pip install pytest pytest-cov pytest-xdist coverage
|
||||||
- name: "Install Linux VirtualDisplay"
|
- name: "Install Linux VirtualDisplay"
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
|
@ -81,6 +81,7 @@ jobs:
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
pytest . -v \
|
pytest . -v \
|
||||||
|
-n auto \
|
||||||
--junitxml=junit/test-results.xml \
|
--junitxml=junit/test-results.xml \
|
||||||
--cov pyqtgraph --cov-report=xml --cov-report=html
|
--cov pyqtgraph --cov-report=xml --cov-report=html
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in New Issue
Block a user