Skip to content

Commit

Permalink
Use test-infra action for miniconda setup
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Oct 10, 2024
1 parent b0de6bd commit 7d81193
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/macos_wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,10 @@ jobs:
with:
name: pytorch_torchcodec__${{ matrix.python-version }}_cpu_
path: pytorch/torchcodec/dist/
- name: Setup conda env
uses: conda-incubator/setup-miniconda@v3
- name: Setup miniconda
uses: pytorch/test-infra/.github/actions/setup-miniconda@macbuildwheel
with:
auto-update-conda: true
miniconda-version: "latest"
activate-environment: test
python-version: ${{ matrix.python-version }}
- name: Activate conda
run: conda activate test
- name: Update pip
run: python3 -m pip install --upgrade pip
- name: Install PyTorch
Expand Down

0 comments on commit 7d81193

Please sign in to comment.