Skip to content

Commit 5bb8d9d

Browse files
authored
Update pr.yml
Add the cuda12 pip install in all venv activation as it was observed that the Run Unit venv did not get the package Signed-off-by: Ming M Qin <38891913+MMelQin@users.noreply.github.com>
1 parent c12cf3a commit 5bb8d9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- name: Check formatting
2929
run: |
3030
source .venv/bin/activate
31+
python3 -m pip install nvidia-cuda-runtime-cu12
3132
python3 -c 'import sys; print(sys.executable)'
3233
python3 -c 'import site; print(site.getsitepackages())'
3334
python3 -m pip freeze
@@ -37,10 +38,13 @@ jobs:
3738
- name: Run Unit tests
3839
run: |
3940
source .venv/bin/activate
41+
python3 -m pip install nvidia-cuda-runtime-cu12
42+
python3 -m pip install nvidia-cuda-runtime-cu12
4043
./run test all unit
4144
- name: Coverage
4245
run: |
4346
source .venv/bin/activate
47+
python3 -m pip install nvidia-cuda-runtime-cu12
4448
coverage xml
4549
- name: Upload coverage
4650
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)