File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,3 +21,7 @@ internal:
2121 - ' !README.md'
2222 - ' !src/**'
2323 - ' !pyproject.toml'
24+
25+ # if branch starts with feature/ then apply this label
26+ feature :
27+ - head-branch : ['^feature', 'feature']
Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ def test_dev_args() -> None:
111111 "--app" ,
112112 "api" ,
113113 "--no-proxy-headers" ,
114+ "--log-config" ,
115+ "log_config.yaml" ,
114116 ],
115117 )
116118 assert result .exit_code == 0 , result .output
@@ -125,7 +127,7 @@ def test_dev_args() -> None:
125127 "root_path" : "/api" ,
126128 "proxy_headers" : False ,
127129 "forwarded_allow_ips" : None ,
128- "log_config" : get_uvicorn_log_config () ,
130+ "log_config" : "log_config.yaml" ,
129131 }
130132 assert "Using import string: single_file_app:api" in result .output
131133 assert "Starting development server 🚀" in result .output
@@ -311,7 +313,7 @@ def test_run_args() -> None:
311313 "root_path" : "/api" ,
312314 "proxy_headers" : False ,
313315 "forwarded_allow_ips" : None ,
314- "log_config" : get_uvicorn_log_config () ,
316+ "log_config" : "log_config.yaml" ,
315317 }
316318
317319 assert "Using import string: single_file_app:api" in result .output
You can’t perform that action at this time.
0 commit comments