From fa8b5ebc4cb6062c57cd55574d1efa309ebd15b0 Mon Sep 17 00:00:00 2001 From: Fischer Moseley <42497969+fischermoseley@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:56:32 -0800 Subject: [PATCH] ci: explicitly specify src/ as coverage directory --- .github/workflows/run_tests.yml | 3 ++- Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index ca8b27e..644d62f 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -38,7 +38,8 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: Coverage Report + name: coverage_reports + include-hidden-files: true path: | .coverage coverage.xml diff --git a/Makefile b/Makefile index 1c2f0ec..4b70558 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: test format clean serve_docs test: - python3 -m pytest --cov-report xml --cov=. + python3 -m pytest --cov-report xml --cov=src format: python3 -m ruff check --select I --fix