ci: compliance: Install python packages from requirements
Instead of maintaining two lists, use the requirements file for installing compliance dependencies. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
55bc3acf58
commit
5d9a0cba9b
2 changed files with 10 additions and 6 deletions
2
.github/workflows/compliance.yml
vendored
2
.github/workflows/compliance.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
|||
run: |
|
||||
pip3 install setuptools
|
||||
pip3 install wheel
|
||||
pip3 install python-magic lxml junitparser gitlint pylint pykwalify yamllint clang-format unidiff sphinx-lint ruff
|
||||
pip3 install -r scripts/requirements-compliance.txt
|
||||
pip3 install west
|
||||
|
||||
- name: west setup
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
# COMPLIANCE: required by the compliance scripts
|
||||
|
||||
# used by ci/check_compliance
|
||||
# zephyr-keep-sorted-start
|
||||
clang-format>=15.0.0
|
||||
gitlint
|
||||
junitparser>=2
|
||||
lxml
|
||||
pykwalify
|
||||
pylint>=3
|
||||
python-magic
|
||||
python-magic-bin; sys_platform == "win32"
|
||||
lxml
|
||||
junitparser>=2
|
||||
pylint>=3
|
||||
ruff
|
||||
sphinx-lint
|
||||
unidiff
|
||||
yamllint
|
||||
sphinx-lint
|
||||
ruff
|
||||
# zephyr-keep-sorted-stop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue