mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-26 10:47:17 +01:00
Set coverage fail_under=100 and add python_pkg/lichess_bot to sources
- Add python_pkg/lichess_bot to coverage sources - Set fail_under=100 to enforce 100% test coverage
This commit is contained in:
parent
94fef50913
commit
87b2602318
@ -200,7 +200,7 @@ filterwarnings = [
|
|||||||
# COVERAGE - Code coverage configuration
|
# COVERAGE - Code coverage configuration
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
source = ["PYTHON", "articles", "poker-modifier-app"]
|
source = ["PYTHON", "articles", "poker-modifier-app", "python_pkg/lichess_bot"]
|
||||||
branch = true
|
branch = true
|
||||||
omit = [
|
omit = [
|
||||||
"*/__pycache__/*",
|
"*/__pycache__/*",
|
||||||
@ -211,7 +211,7 @@ omit = [
|
|||||||
|
|
||||||
[tool.coverage.report]
|
[tool.coverage.report]
|
||||||
# Fail under this percentage
|
# Fail under this percentage
|
||||||
fail_under = 0
|
fail_under = 100
|
||||||
show_missing = true
|
show_missing = true
|
||||||
skip_covered = false
|
skip_covered = false
|
||||||
exclude_lines = [
|
exclude_lines = [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user