From 00a0bfc005af148b81a77195648b77e0642c9b75 Mon Sep 17 00:00:00 2001 From: neelasha23 Date: Mon, 3 Apr 2023 20:08:35 +0530 Subject: [PATCH 1/2] Parallel tests --- .github/workflows/ci.yaml | 4 ++-- setup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0869d8fa4..c0c240546 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,7 +36,7 @@ jobs: - name: Test with pytest run: | - pytest --durations-min=5 --ignore=src/tests/integration + pytest --durations-min=5 -n auto --ignore=src/tests/integration test-sqlalchemy-v1: strategy: @@ -66,7 +66,7 @@ jobs: - name: Test with pytest run: | - pytest --durations-min=5 --ignore=src/tests/integration + pytest --durations-min=5 -n auto --ignore=src/tests/integration # run: pkgmt check check: diff --git a/setup.py b/setup.py index e09bf5525..cfc67be6b 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,7 @@ "docker", # for %%sql --interact "ipywidgets", + "pytest-xdist" ] setup( From 6dcd9c86e99c834aa4e8675db7ae1c40a832cd10 Mon Sep 17 00:00:00 2001 From: neelasha23 Date: Mon, 3 Apr 2023 20:12:53 +0530 Subject: [PATCH 2/2] Parallel tests --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cfc67be6b..b7f6d6b9e 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ "docker", # for %%sql --interact "ipywidgets", - "pytest-xdist" + "pytest-xdist", ] setup(