[QG] Add quality gates on main branch
[+] add lint pipeline for ruff isort and black checks [+] add types pipeline for mypy check [+] add tests pipeline for pytest check with coverage less 70% blocker QG [+] add some tests fo QG pass
This commit is contained in:
@@ -11,10 +11,31 @@ dependencies = [
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"isort>=8.0.1",
|
||||
"mypy>=1.20.1",
|
||||
{include-group = "lints"},
|
||||
{include-group = "tests"},
|
||||
{include-group = "types"},
|
||||
"pre-commit>=4.5.1",
|
||||
]
|
||||
tests = [
|
||||
"httpx>=0.28.1",
|
||||
"pytest>=9.0.3",
|
||||
"pytest-asyncio>=1.3.0",
|
||||
"ruff>=0.15.11",
|
||||
"pytest-cov>=7.1.0",
|
||||
]
|
||||
lints = [
|
||||
"black>=23.7.0",
|
||||
"ruff>=0.15.11",
|
||||
"isort>=8.0.1",
|
||||
]
|
||||
types = [
|
||||
"mypy>=1.20.1",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
addopts = "--cov=src --cov-report=term"
|
||||
pythonpath = "."
|
||||
testpaths = "tests"
|
||||
xfail_strict = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user