From de20d76622408c56142a3f736fca22269530a9c6 Mon Sep 17 00:00:00 2001 From: Catherine Lee Date: Tue, 29 Apr 2025 16:16:54 +0000 Subject: [PATCH] [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 --- .github/workflows/upload-test-stats-while-running.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/upload-test-stats-while-running.yml b/.github/workflows/upload-test-stats-while-running.yml index c657ce3bdcc..9aecaad0e06 100644 --- a/.github/workflows/upload-test-stats-while-running.yml +++ b/.github/workflows/upload-test-stats-while-running.yml @@ -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