mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
Fix dependencies to set tests up.
This commit is contained in:
9
.vscode/tasks.json
vendored
9
.vscode/tasks.json
vendored
@@ -10,6 +10,7 @@
|
||||
"label": "Collect Static Files",
|
||||
"type": "shell",
|
||||
"command": "python3 manage.py collectstatic",
|
||||
"dependsOn": ["Yarn Build"],
|
||||
},
|
||||
{
|
||||
"label": "Run Dev Server",
|
||||
@@ -45,10 +46,14 @@
|
||||
"group": "build",
|
||||
},
|
||||
{
|
||||
"label": "Pytest",
|
||||
"label": "Setup Tests",
|
||||
"dependsOn": ["Run Migrations", "Collect Static Files"],
|
||||
},
|
||||
{
|
||||
"label": "Run all pytests",
|
||||
"type": "shell",
|
||||
"command": "python3 -m pytest cookbook/tests",
|
||||
"dependsOn": ["Run Migrations", "Collect Static Files"],
|
||||
"dependsOn": ["Setup Tests"],
|
||||
"group": "test",
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user