From 03cd4c6e43ca0c13310b1b35a359caaa7679d32c Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Thu, 21 Sep 2023 23:00:04 +0800 Subject: [PATCH] feat: run CI testing workflow with pytest-xdist to speed up; --- .github/workflows/testing_ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing_ci.yml b/.github/workflows/testing_ci.yml index 7e5b6780..b139d018 100644 --- a/.github/workflows/testing_ci.yml +++ b/.github/workflows/testing_ci.yml @@ -68,7 +68,8 @@ jobs: - name: Test with pytest run: | - coverage run --source=pypots -m pytest -rA tests/*/* + rm -rf tests/__pycache__ + coverage run --source=pypots -m pytest -rA tests/*/* -n auto --dist=loadgroup - name: Generate the LCOV report run: |