Replaced the run-test.sh script with a Python script that runs our unit tests through pytest. Tests are now run in parallel to speed up running the entire test suite, and it allows for integration with other tools that support pytest, such as IDEs. Also removed a dependency on remarshal, because it depends on an old version of PyYAML that conflicts with other Python packages in our Docker image. Replaced it with yq.
11 lines
No EOL
330 B
JSON
11 lines
No EOL
330 B
JSON
{
|
|
"files.associations": {
|
|
"*.overlay": "dts",
|
|
"*.keymap": "dts"
|
|
},
|
|
"python.formatting.provider": "black",
|
|
"python.testing.pytestEnabled": true,
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.cwd": "${workspaceFolder}/app",
|
|
"python.testing.pytestArgs": ["test_zmk.py", "-v", "--numprocesses=auto"]
|
|
} |