mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Add ability for pytest to run only on changed tests in codebase (#86776)
This commit is contained in:
parent
ae6bc96002
commit
42c4f2f7fa
14
.vscode/tasks.json
vendored
14
.vscode/tasks.json
vendored
@ -27,6 +27,20 @@
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Pytest (changed tests only)",
|
||||
"type": "shell",
|
||||
"command": "pytest --timeout=10 --picked",
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new"
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Flake8",
|
||||
"type": "shell",
|
||||
|
@ -26,6 +26,7 @@ pytest-test-groups==1.0.3
|
||||
pytest-sugar==0.9.5
|
||||
pytest-timeout==2.1.0
|
||||
pytest-unordered==0.5.2
|
||||
pytest-picked==0.4.6
|
||||
pytest-xdist==2.5.0
|
||||
pytest==7.2.1
|
||||
requests_mock==1.10.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user