diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f06c6a4a..5ec40c17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,11 +68,11 @@ jobs: - name: Tests if: ${{ !cancelled() && steps.deps.conclusion == 'success' }} run: | - coverage run runtests.py --parallel || ./runtests.py + coverage run --parallel-mode runtests.py --parallel || ./runtests.py + coverage combine MONITORING_INTEGRATION=1 coverage run --append runtests.py # SAMPLE tests do not influence coverage, so we can speed up tests with --parallel SAMPLE_APP=1 coverage run ./runtests.py --parallel > /dev/null 2>&1 || SAMPLE_APP=1 ./runtests.py - coverage combine coverage xml - name: Upload Coverage diff --git a/docs/user/radius_monitoring.rst b/docs/user/radius_monitoring.rst index 8404490c..7f80f0af 100644 --- a/docs/user/radius_monitoring.rst +++ b/docs/user/radius_monitoring.rst @@ -4,7 +4,8 @@ Integration with OpenWISP Monitoring ==================================== OpenWISP RADIUS includes an optional Django sub-app that adds integration -with :doc:`OpenWISP Monitoring ` to provide RADIUS metrics. +with :doc:`OpenWISP Monitoring ` to provide RADIUS +metrics. .. image:: ../images/radius-dashboard-charts.png :alt: RADIUS session dashboard charts @@ -65,10 +66,10 @@ Django project's settings as following: .. note:: Ensure your Django project is correctly configured to utilize OpenWISP - Monitoring. For production environments, it is advisable to deploy OpenWISP using - :doc:`Ansible OpenWISP ` - or :doc:`Docker OpenWISP `, - as they simplify the deployment process considerably. + Monitoring. For production environments, it is advisable to deploy + OpenWISP using :doc:`Ansible OpenWISP ` or + :doc:`Docker OpenWISP `, as they simplify the + deployment process considerably. .. important:: diff --git a/pyproject.toml b/pyproject.toml index 27522675..b6130200 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [tool.coverage.run] source = ["openwisp_radius"] -parallel = true concurrency = ["multiprocessing"] omit = [ "openwisp_radius/__init__.py",