ci: explicitly specify src/ as coverage directory

This commit is contained in:
Fischer Moseley 2024-11-28 14:56:32 -08:00
parent 642f6ddad0
commit fa8b5ebc4c
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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