@@ -84,15 +84,15 @@ jobs:
8484 activate-environment : test
8585 python-version : ${{ matrix.python-version }}
8686 - name : Update pip
87- run : python -m pip install --upgrade pip
87+ run : ${CONDA_RUN} python -m pip install --upgrade pip
8888 - name : Install PyTorch
8989 run : |
90- python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
90+ ${CONDA_RUN} python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
9191 - name : Install torchcodec from the wheel
9292 run : |
9393 wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`
9494 echo Installing $wheel_path
95- python -m pip install $wheel_path -vvv
95+ ${CONDA_RUN} python -m pip install $wheel_path -vvv
9696
9797 - name : Check out repo
9898 uses : actions/checkout@v3
@@ -105,17 +105,17 @@ jobs:
105105 source packaging/helpers.sh
106106 assert_ffmpeg_not_installed
107107
108- conda install "ffmpeg=${{ matrix.ffmpeg-version-for-tests }}" -c conda-forge
109- ffmpeg -version
108+ ${CONDA_RUN} conda install "ffmpeg=${{ matrix.ffmpeg-version-for-tests }}" -c conda-forge
109+ ${CONDA_RUN} ffmpeg -version
110110
111111 - name : Install cuda runtime dependencies
112112 run : |
113- conda install --yes nvidia::libnpp nvidia::cuda-nvrtc=12.4 nvidia::cuda-toolkit=12.4 nvidia::cuda-cudart=12.4 nvidia::cuda-driver-dev=12.4
113+ ${CONDA_RUN} conda install --yes nvidia::libnpp nvidia::cuda-nvrtc=12.4 nvidia::cuda-toolkit=12.4 nvidia::cuda-cudart=12.4 nvidia::cuda-driver-dev=12.4
114114 - name : Install test dependencies
115115 run : |
116- python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
116+ ${CONDA_RUN} python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
117117 # Ideally we would find a way to get those dependencies from pyproject.toml
118- python -m pip install numpy pytest pillow
118+ ${CONDA_RUN} python -m pip install numpy pytest pillow
119119
120120 - name : Delete the src/ folder just for fun
121121 run : |
0 commit comments