Add vscode task to run changed tests (#103501)

This commit is contained in:
Ville Hartikainen 2023-11-08 12:33:19 +02:00 committed by GitHub
parent 381d8abd58
commit 8e99760595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

8
.vscode/launch.json vendored
View File

@ -22,6 +22,14 @@
"args": ["--debug", "-c", "config", "--skip-pip"],
"preLaunchTask": "Compile English translations"
},
{
"name": "Home Assistant: Changed tests",
"type": "python",
"request": "launch",
"module": "pytest",
"justMyCode": false,
"args": ["--timeout=10", "--picked"],
},
{
// Debug by attaching to local Home Assistant server using Remote Python Debugger.
// See https://www.home-assistant.io/integrations/debugpy/