Skip to content

Commit 1e01a65

Browse files
workflows: compliance: fix requirements
Use zephyr compliance requirements.txt. Signed-off-by: Giacomo Dematteis <giacomo.dematteis@nordicsemi.no>
1 parent fcf8c8b commit 1e01a65

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/compliance.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ jobs:
1616
if: ${{ !contains(github.actor, 'renovate') }}
1717

1818
steps:
19-
- name: Install requirements
19+
- name: Installation
2020
run: |
21-
apt-get update
22-
apt-get install --no-install-recommends -y libmagic1 git
23-
pip install unidiff yamllint junitparser python-magic west lxml gitlint
21+
apt-get update && apt-get install --no-install-recommends -y libmagic1 git
22+
pip install west gitlint
2423
2524
- name: Checkout the code
2625
uses: actions/checkout@v4
@@ -39,6 +38,10 @@ jobs:
3938
fi
4039
west update -o=--depth=1 -n
4140
41+
- name: Install zephyr requirements
42+
run: |
43+
pip install -r zephyr/scripts/requirements-compliance.txt
44+
4245
- name: Run Compliance Tests
4346
id: compliance
4447
shell: bash

0 commit comments

Comments
 (0)