From 0bd6bab0b8fa1c1c536e0e0e73e705ec2fa2742f Mon Sep 17 00:00:00 2001 From: dancergraham Date: Sat, 18 Jan 2025 15:18:20 +0100 Subject: [PATCH] fix: coverage calculation in ci --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d0fe3d81..531849ca 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -147,7 +147,7 @@ jobs: source .venv/bin/activate export DJANGO_SETTINGS_MODULE="test_settings" export PYTHONPATH=.".:$PYTHONPATH" - coverage run --source=waffle django-admin test waffle + python -m coverage run --source=waffle django-admin test waffle coverage report -m - name: Upload coverage to Codecov uses: codecov/codecov-action@v5