@@ -29,29 +29,22 @@ jobs:
2929 steps :
3030 - uses : actions/checkout@v4
3131
32- - name : Debug package info
33- run : |
34- echo "Package input: ${{ inputs.package }}"
35- echo "Package dir from env: ${{ env.PACKAGE_DIR }}"
36- echo "Package dir computed: libs/${{ inputs.package }}"
37- echo "Current directory: $(pwd)"
38- echo "Directory contents:"
39- ls -la
40- echo "Libs directory:"
41- ls -la libs/
42- echo "Package directory:"
43- ls -la libs/${{ inputs.package }}/ || echo "Directory not found"
44-
4532 - name : Set up Python 3.12
4633 uses : actions/setup-python@v5
4734 with :
4835 python-version : ' 3.12'
4936
5037 - name : Install dependencies
51- working-directory : libs/${{ inputs.package }}
5238 run : |
39+ echo "=== DEBUG: Installing dependencies ==="
40+ echo "Package: ${{ inputs.package }}"
41+ echo "Install path: ./libs/${{ inputs.package }}"
42+ echo "Current directory: $(pwd)"
43+ echo "Checking if path exists:"
44+ ls -la ./libs/${{ inputs.package }}/
45+ echo "=== Running pip install ==="
5346 python -m pip install --upgrade pip
54- pip install -e ".[dev]"
47+ pip install -e "./libs/${{ inputs.package }} [dev]"
5548
5649 - name : Run linting checks
5750 working-directory : libs/${{ inputs.package }}
@@ -108,9 +101,8 @@ jobs:
108101
109102 - name : Check dependencies with Safety
110103 run : |
111- cd libs/${{ inputs.package }}
112104 echo "=== Checking dependencies with Safety ==="
113- pip install -e ".[dev,test]"
105+ pip install -e "./libs/${{ inputs.package }} [dev,test]"
114106 # Using the new 'scan' command as 'check' is deprecated
115107 safety scan --json || SAFETY_EXIT=$?
116108 # Safety scan exits with 64 if vulnerabilities found
@@ -148,10 +140,9 @@ jobs:
148140 python-version : ' 3.12'
149141
150142 - name : Install dependencies
151- working-directory : libs/${{ inputs.package }}
152143 run : |
153144 python -m pip install --upgrade pip
154- pip install -e ".[test]"
145+ pip install -e "./libs/${{ inputs.package }} [test]"
155146
156147 - name : Run unit tests with coverage
157148 run : |
@@ -253,10 +244,9 @@ jobs:
253244 python-version : ' 3.12'
254245
255246 - name : Install dependencies
256- working-directory : libs/${{ inputs.package }}
257247 run : |
258248 python -m pip install --upgrade pip
259- pip install -e ".[test,dev]"
249+ pip install -e "./libs/${{ inputs.package }} [test,dev]"
260250
261251 - name : Verify Cassandra is ready
262252 run : |
@@ -317,10 +307,9 @@ jobs:
317307 python-version : ' 3.12'
318308
319309 - name : Install dependencies
320- working-directory : libs/${{ inputs.package }}
321310 run : |
322311 python -m pip install --upgrade pip
323- pip install -e ".[test,dev]"
312+ pip install -e "./libs/${{ inputs.package }} [test,dev]"
324313
325314 - name : Verify Cassandra is ready
326315 run : |
0 commit comments