From 88115eb3aaa3eb53c38c70108fb94806c3053f73 Mon Sep 17 00:00:00 2001 From: "Lucas, John P" Date: Tue, 15 Aug 2023 09:52:41 -0400 Subject: [PATCH] [nasa/onair#9] Attempt to set source files for unit test and produce branch report; --- .github/workflows/unit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index a8c434d1..f22356c2 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -19,7 +19,7 @@ jobs: python -m pip install --upgrade pip if [ -f requirements_pip.txt ]; then pip install -r requirements_pip.txt; fi - name: Test with pytest - run: python -m coverage run -m pytest ./test/ + run: python -m coverage run --branch --source=data_handling,src,utils -m pytest ./test/ - name: Coverage report run: coverage report - name: Upload coverage reports to Codecov