Skip to content

Commit fbf4832

Browse files
Vijay IyengarVijay Iyengar
authored andcommitted
fix: Fix GitHub Actions workflow - correct uv pip install usage
- Add UV_SYSTEM_PYTHON=1 environment variable to complexity job - Remove incorrect --system flag from uv pip install command - This fixes the 'Process completed with exit code 2' error in CI
1 parent e770c4b commit fbf4832

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/code-quality.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
complexity:
5555
name: Code Complexity Analysis
5656
runs-on: ubuntu-latest
57+
env:
58+
UV_SYSTEM_PYTHON: 1
5759
steps:
5860
- uses: actions/checkout@v4
5961

@@ -69,7 +71,7 @@ jobs:
6971

7072
- name: Install analysis tools
7173
run: |
72-
uv pip install --system radon xenon flake8 flake8-cognitive-complexity
74+
uv pip install radon xenon flake8 flake8-cognitive-complexity
7375
7476
- name: Cyclomatic Complexity
7577
run: |

0 commit comments

Comments
 (0)