From 97f362ed1ee3d6c892a80788bf4acdb614ad76d1 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sat, 9 Apr 2022 01:26:04 +0000 Subject: [PATCH] fix for multiprocessing --- .github/workflows/ci-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 907caa74..d9d83031 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -41,7 +41,9 @@ jobs: run: | cd api/tacticalrmm source ../env/bin/activate - coverage run manage.py test -v 2 --parallel + rm -f .coverage coverage.lcov + coverage run --concurrency=multiprocessing manage.py test -v 2 --parallel + coverage combine coverage lcov if [ $? -ne 0 ]; then exit 1