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.
10 lines
200 B
Text
10 lines
200 B
Text
# Copyright (c) 2021 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# Perform our hardware metadata validation
|
|
jsonschema>=3.2.0
|
|
|
|
# Unit testing
|
|
pythonsed>=2.1
|
|
pytest>=7.0.0
|
|
pytest-xdist>=3.0.0
|