Self hosted FLOSS fitness/workout, nutrition and weight tracker
Enable parallel test execution for coverage report
Roland Geider20c5e42509bf
diff --git a/.coveragerc b/.coveragercindex 190372c2e..0f69d9caf 100644--- a/.coveragerc+++ b/.coveragerc@@ -1,2 +1,4 @@[run]-omit = *migrations*+omit = */migrations/*+parallel = true+concurrency = multiprocessing,threaddiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex f538d6a8b..adb282146 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -51,12 +51,10 @@ jobs:mkdir /tmp/wger-test# Only run the tests with coverage for one version of python.- # Coverage is not parallelised because `coverage run` doesn't combine the- # per-process subprocess data files automatically with Django's runner.- name: Test the application with coverageif: matrix.python-version == 3.13run: |- uv run coverage run --source='.' ./manage.py test+ uv run coverage run --source='.' ./manage.py test --parallel autouv run coverage lcov- name: Test the application