Skip to content

Commit

Permalink
ensure exec in pdm venv
Browse files Browse the repository at this point in the history
  • Loading branch information
leifdenby committed Jun 3, 2024
1 parent 143cf2a commit b760915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-pdm-install-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
- name: Install torch (CPU)
run: |
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
pdm run python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
# check that the CPU version is installed
python -c "import torch; assert torch.__version__.endswith('+gpu')"
pdm run python -c "import torch; assert torch.__version__.endswith('+gpu')"
- name: Install package (including dev dependencies)
run: |
Expand Down

0 comments on commit b760915

Please sign in to comment.