Skip to content

Commit

Permalink
chore: update cov settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kod-kristoff committed Sep 16, 2024
1 parent e0c4428 commit 17b4a3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ else
INVENV =
endif

default_cov := "--cov=packages/sparv-sbx-sentence-emotional-classification-kb-emoclass"
default_cov := "--cov"
cov_report := "term-missing"
cov := ${default_cov}

Expand Down Expand Up @@ -101,7 +101,7 @@ test:
.PHONY: test-w-coverage
# run all tests with coverage collection
test-w-coverage:
${INVENV} pytest -vv ${cov} --cov-report=${cov_report} .
${INVENV} pytest -vv ${cov} --cov-report=${cov_report} ${all_tests}

.PHONY: doc-tests
doc-tests:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ dev-dependencies = [
]
[tool.uv.workspace]
members = ["packages/sparv-sbx-sentence-emotional-classification-kb-emoclass"]

[tool.coverage.run]
omit = ["packages/*/tests/*"]

0 comments on commit 17b4a3a

Please sign in to comment.