Skip to content

Commit b760915

Browse files
committed
ensure exec in pdm venv
1 parent 143cf2a commit b760915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-pdm-install-and-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
2525
- name: Install torch (CPU)
2626
run: |
27-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
27+
pdm run python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
2828
# check that the CPU version is installed
29-
python -c "import torch; assert torch.__version__.endswith('+gpu')"
29+
pdm run python -c "import torch; assert torch.__version__.endswith('+gpu')"
3030
3131
- name: Install package (including dev dependencies)
3232
run: |

0 commit comments

Comments
 (0)