ci: explicitly specify src/ as coverage directory

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

View File

@ -38,7 +38,8 @@ jobs:
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: Coverage Report name: coverage_reports
include-hidden-files: true
path: | path: |
.coverage .coverage
coverage.xml coverage.xml

View File

@ -1,6 +1,6 @@
.PHONY: test format clean serve_docs .PHONY: test format clean serve_docs
test: test:
python3 -m pytest --cov-report xml --cov=. python3 -m pytest --cov-report xml --cov=src
format: format:
python3 -m ruff check --select I --fix python3 -m ruff check --select I --fix