[conda] Remove conda usage from upload test stats while running workflow (#152431)

The original uses python 3.10 and the base is 3.9 but I think that's ok
Pull Request resolved: https://github.com/pytorch/pytorch/pull/152431
Approved by: https://github.com/atalman
This commit is contained in:
Catherine Lee 2025-04-29 16:16:54 +00:00 committed by PyTorch MergeBot
parent f84062f78d
commit de20d76622

View File

@ -24,17 +24,12 @@ jobs:
- name: Setup Linux
uses: ./.github/actions/setup-linux
- name: Setup miniconda
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
with:
python-version: "3.10"
- name: Install requirements
run: |
${CONDA_RUN} pip install requests==2.32.2 boto3==1.35.42
python3 -m pip install requests==2.32.2 boto3==1.35.42
- name: Upload test stats
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
${CONDA_RUN} python -m tools.stats.upload_test_stats_running_jobs
python3 -m tools.stats.upload_test_stats_running_jobs