97 lines
2.7 KiB
JSON
97 lines
2.7 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Start Service",
|
|
"type": "shell",
|
|
"command": "./scripts/start_service.sh",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Stop Service",
|
|
"type": "shell",
|
|
"command": "./scripts/stop_service.sh",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install Dependencies",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": ["sync"],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run Tests",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": ["run", "pytest", "-v"],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}",
|
|
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
|
|
}
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run Streaming Test",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": ["run", "python", "scripts/test_real_streaming.py"],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}",
|
|
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
|
|
}
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|