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: |
|
run: |
|
||||||
pip3 install setuptools
|
pip3 install setuptools
|
||||||
pip3 install wheel
|
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
|
pip3 install west
|
||||||
|
|
||||||
- name: west setup
|
- name: west setup
|
||||||
|
|
|
@ -1,13 +1,17 @@
|
||||||
# COMPLIANCE: required by the compliance scripts
|
# COMPLIANCE: required by the compliance scripts
|
||||||
|
|
||||||
# used by ci/check_compliance
|
# used by ci/check_compliance
|
||||||
|
# zephyr-keep-sorted-start
|
||||||
clang-format>=15.0.0
|
clang-format>=15.0.0
|
||||||
|
gitlint
|
||||||
|
junitparser>=2
|
||||||
|
lxml
|
||||||
|
pykwalify
|
||||||
|
pylint>=3
|
||||||
python-magic
|
python-magic
|
||||||
python-magic-bin; sys_platform == "win32"
|
python-magic-bin; sys_platform == "win32"
|
||||||
lxml
|
ruff
|
||||||
junitparser>=2
|
sphinx-lint
|
||||||
pylint>=3
|
|
||||||
unidiff
|
unidiff
|
||||||
yamllint
|
yamllint
|
||||||
sphinx-lint
|
# zephyr-keep-sorted-stop
|
||||||
ruff
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue