From e3d6c255a66c3b94893466e156ffc63f9d9c3afc Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Tue, 5 Dec 2023 12:11:14 +0100 Subject: [PATCH] Run pytest in parallel Signed-off-by: Cristian Le --- .github/workflows/step_coverage.yml | 2 +- .github/workflows/step_tests-conda.yml | 2 +- .github/workflows/step_tests-pip.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/step_coverage.yml b/.github/workflows/step_coverage.yml index f6aeea59..56cdecac 100644 --- a/.github/workflows/step_coverage.yml +++ b/.github/workflows/step_coverage.yml @@ -38,7 +38,7 @@ jobs: run: python -m ipykernel install --name python_kernel --user - name: Run the tests - run: pytest tests/${{ matrix.coverage }} --cov + run: pytest tests/${{ matrix.coverage }} --cov -n logical - name: Upload the coverage uses: codecov/codecov-action@v3 diff --git a/.github/workflows/step_tests-conda.yml b/.github/workflows/step_tests-conda.yml index 00b3c637..49744786 100644 --- a/.github/workflows/step_tests-conda.yml +++ b/.github/workflows/step_tests-conda.yml @@ -61,7 +61,7 @@ jobs: python -m jupyterlab.browser_check - name: Test with pytest - run: pytest --cov + run: pytest --cov -n logical - name: Upload coverage uses: codecov/codecov-action@v3 diff --git a/.github/workflows/step_tests-pip.yml b/.github/workflows/step_tests-pip.yml index a776f107..633dbacd 100644 --- a/.github/workflows/step_tests-pip.yml +++ b/.github/workflows/step_tests-pip.yml @@ -83,7 +83,7 @@ jobs: python -m jupyterlab.browser_check - name: Test with pytest - run: pytest --cov + run: pytest --cov -n logical - name: Upload coverage uses: codecov/codecov-action@v3