Add task for collection of static files as it is needed for tests to pass.

This commit is contained in:
Anand Patel
2024-02-29 00:26:49 +00:00
parent 77d2e29fe4
commit 0b51d87a06

6
.vscode/tasks.json vendored
View File

@@ -6,6 +6,11 @@
"type": "shell",
"command": "python3 manage.py migrate",
},
{
"label": "Collect Static Files",
"type": "shell",
"command": "python3 manage.py collectstatic",
},
{
"label": "Run Dev Server",
"type": "shell",
@@ -43,6 +48,7 @@
"label": "Pytest",
"type": "shell",
"command": "python3 -m pytest cookbook/tests",
"dependsOn": ["Run Migrations", "Collect Static Files"],
"group": "test",
}
]