diff --git a/.github/workflows/workflow-lint-test-python.yml b/.github/workflows/workflow-lint-test-python.yml index f3cfd76d..fdc80b4b 100644 --- a/.github/workflows/workflow-lint-test-python.yml +++ b/.github/workflows/workflow-lint-test-python.yml @@ -35,6 +35,7 @@ jobs: fi pip install pytest pytest-cov # for coverage pip install psycopg[binary] + pip install pytest-xdist - name: Lint with ruff run: | @@ -48,8 +49,7 @@ jobs: secrets: ${{ toJSON(secrets) }} - name: Test with pytest - run: | - python -m pytest + run: python -m pytest -n auto - name: Run tests with coverage (coverage must be at least 80% to pass) if: inputs.skip-coverage != 'true'