Add offline workflow and coverage tests

This commit is contained in:
Yuxuan Yan
2026-06-16 17:37:16 +08:00
parent 8d908477e2
commit 31baa18ce5
16 changed files with 2104 additions and 9 deletions
+24
View File
@@ -19,8 +19,32 @@ backtrader = [
[dependency-groups]
dev = [
"coverage>=7.14.1",
"pytest>=7.0.0",
]
[tool.uv]
package = false
[tool.pytest.ini_options]
markers = [
"network: tests that call live external data providers and are skipped unless explicitly enabled",
]
[tool.coverage.run]
branch = true
relative_files = true
source = [
".",
]
[tool.coverage.report]
fail_under = 80
show_missing = true
skip_covered = false
omit = [
"tests/*",
"docs/*",
"scripts/*",
".venv/*",
]