Skip to content

Commit a83f932

Browse files
authored
Update pr.yml
Repeat setting lib path for cuda12 because it is not found in Unit Tests Signed-off-by: Ming M Qin <38891913+MMelQin@users.noreply.github.com>
1 parent a429e53 commit a83f932

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)