From 7460ba202d91a0dff8af5d6dab6c00571150f80d Mon Sep 17 00:00:00 2001 From: Jonathan de Bruin Date: Fri, 15 Sep 2023 12:38:51 +0200 Subject: [PATCH] Add support for multiple workers for GitHub Actions tests (#63) --- .github/workflows/python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index aa7bf49..94c4785 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -23,7 +23,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install . - python -m pip install pytest + python -m pip install pytest pytest-xdist - name: Test with pytest run: | - pytest + pytest -n 4