Files
pytorch/.github/workflows/upload-test-stats-while-running.yml
Catherine Lee de20d76622 [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
2025-04-29 16:16:54 +00:00

36 lines
875 B
YAML

name: Upload test stats while running
on:
schedule:
# Every hour
- cron: '0 * * * *'
concurrency:
group: upload-test-stats-while-running
cancel-in-progress: true
jobs:
upload_test_stats_while_running:
if: github.repository_owner == 'pytorch'
name: Upload test stats while running
runs-on: linux.2xlarge
steps:
- name: Checkout PyTorch
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
with:
fetch-depth: 1
submodules: false
- name: Setup Linux
uses: ./.github/actions/setup-linux
- name: Install requirements
run: |
python3 -m pip install requests==2.32.2 boto3==1.35.42
- name: Upload test stats
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 -m tools.stats.upload_test_stats_running_jobs