From d886fe11be5ce390e574053fdadc8aed268b7d55 Mon Sep 17 00:00:00 2001 From: Kyle Shores Date: Sat, 23 Nov 2024 13:01:59 -0600 Subject: [PATCH] getting code coverage for src instead of tests (#281) --- .github/workflows/CI_Tests.yml | 2 +- .gitignore | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI_Tests.yml b/.github/workflows/CI_Tests.yml index 54fe4066..aba1ddfe 100644 --- a/.github/workflows/CI_Tests.yml +++ b/.github/workflows/CI_Tests.yml @@ -30,7 +30,7 @@ jobs: run: pip install -e '.[dev]' - name: Run tests and generate coverage reports - run: pytest --cov tests/ + run: pytest --cov src/ - name: Upload coverage reports to codecov if: runner.os == 'Linux' diff --git a/.gitignore b/.gitignore index 040707cf..de112c17 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ __pycache__/ *.pyc dist -.vscode/ \ No newline at end of file +.vscode/ +.coverage \ No newline at end of file