Skip to content

Commit ae22e88

Browse files
MMelQinSimoneBendazzoli93
authored andcommitted
Update pr.yml
Repeat setting lib path for cuda12 because it is not found in Unit Tests Signed-off-by: Ming M Qin <[email protected]> Signed-off-by: Simone Bendazzoli <[email protected]>
1 parent cb116b1 commit ae22e88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ jobs:
3939
run: |
4040
source .venv/bin/activate
4141
python3 -m pip install nvidia-cuda-runtime-cu12
42+
export LD_LIBRARY_PATH=`pwd`/.venv/lib/python3.8/site-packages/nvidia/cuda_runtime/lib:$LD_LIBRARY_PATH
4243
./run test all unit
4344
- name: Coverage
4445
run: |
4546
source .venv/bin/activate
4647
python3 -m pip install nvidia-cuda-runtime-cu12
48+
export LD_LIBRARY_PATH=`pwd`/.venv/lib/python3.8/site-packages/nvidia/cuda_runtime/lib:$LD_LIBRARY_PATH
4749
coverage xml
4850
- name: Upload coverage
4951
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)