Skip to content

Commit bb8ee80

Browse files
committed
github actions: Install Python dependencies in validate-kernel-commits workflow
The check_kernel_commits.py script requires the gitpython package (imported as 'git' in ciq_helpers.py), but the workflow was not installing dependencies after setting up Python. This caused the workflow to fail with: "ModuleNotFoundError: No module named 'git'" Add a step to install dependencies from pyproject.toml after Python setup.
1 parent ddc9705 commit bb8ee80

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/validate-kernel-commits.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ jobs:
135135
with:
136136
python-version: '3.x'
137137

138+
- name: Install Python dependencies
139+
working-directory: kernel-src-tree-tools
140+
run: |
141+
python3 -m pip install --upgrade pip
142+
pip install .
143+
138144
- name: Run upstream fixes check
139145
id: check-kernel-commits
140146
working-directory: kernel-src-tree-tools

0 commit comments

Comments
 (0)