From e7f64a8fc17f6e454cd77496e36a2b271e0298d8 Mon Sep 17 00:00:00 2001 From: Ogi Moore Date: Mon, 21 Dec 2020 23:19:38 -0800 Subject: [PATCH] add pytest-xdist --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 975bb103..06276a5d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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