Skip to content

Commit

Permalink
Update pr.yml
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
MMelQin authored Apr 10, 2024
1 parent c12cf3a commit 5bb8d9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- name: Check formatting
run: |
source .venv/bin/activate
python3 -m pip install nvidia-cuda-runtime-cu12
python3 -c 'import sys; print(sys.executable)'
python3 -c 'import site; print(site.getsitepackages())'
python3 -m pip freeze
Expand All @@ -37,10 +38,13 @@ jobs:
- name: Run Unit tests
run: |
source .venv/bin/activate
python3 -m pip install nvidia-cuda-runtime-cu12
python3 -m pip install nvidia-cuda-runtime-cu12
./run test all unit
- name: Coverage
run: |
source .venv/bin/activate
python3 -m pip install nvidia-cuda-runtime-cu12
coverage xml
- name: Upload coverage
uses: codecov/codecov-action@v2
Expand Down

0 comments on commit 5bb8d9d

Please sign in to comment.