File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed
Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -76,29 +76,24 @@ jobs:
7676 with :
7777 name : pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64
7878 path : pytorch/torchcodec/dist/
79- - name : Setup conda env
80- uses : conda-incubator/ setup-miniconda@v2
79+ - name : Setup miniconda using test-infra
80+ uses : pytorch/test-infra/.github/actions/ setup-miniconda@main
8181 with :
82- auto-update-conda : true
83- miniconda-version : " latest"
84- activate-environment : test
85- python-version : ${{ matrix.python-version }}
82+ python-version : " 3.9"
8683 - name : Check env
8784 run : |
88- env
89- conda info
85+ ${CONDA_RUN} env
86+ ${CONDA_RUN} conda info
9087 - name : Update pip
91- run : python -m pip install --upgrade pip
88+ run : ${CONDA_RUN} python -m pip install --upgrade pip
9289 - name : Install PyTorch
9390 run : |
94- conda activate test
95- python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
91+ ${CONDA_RUN} python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
9692 - name : Install torchcodec from the wheel
9793 run : |
9894 wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`
9995 echo Installing $wheel_path
100- conda activate test
101- python -m pip install $wheel_path -vvv
96+ ${CONDA_RUN} python -m pip install $wheel_path -vvv
10297
10398 - name : Check out repo
10499 uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments