Improve startup of devcontainer (#26572)

This commit is contained in:
Pascal Vizeli
2019-09-11 11:20:21 +02:00
committed by GitHub
parent 02466ed8ab
commit 702a524b55
3 changed files with 19 additions and 4 deletions

15
.vscode/tasks.json vendored
View File

@ -19,6 +19,7 @@
"label": "Pytest",
"type": "shell",
"command": "pytest --timeout=10 tests",
"dependsOn": ["Install all Test Requirements"],
"group": {
"kind": "test",
"isDefault": true
@ -85,6 +86,20 @@
"panel": "new"
},
"problemMatcher": []
},
{
"label": "Install all Test Requirements",
"type": "shell",
"command": "pip3 install -r requirements_test_all.txt -c homeassistant/package_constraints.txt",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}