From d9f07f6b7c7a6518456abd024158ef50f11525a1 Mon Sep 17 00:00:00 2001 From: Attumm Date: Thu, 1 Aug 2024 13:14:33 +0200 Subject: [PATCH] Changed line to run code coverage to remove test file from coverage --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dea36bb..371b1cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: - name: Run Unit Tests run: | - coverage run -m unittest discover + coverage run --omit="*/tests/*,*/test_*.py" -m unittest discover - name: Upload coverage reports to Codecov, send only once if: matrix.python-version == '3.12'