Cherry-picked commit with merge conflict #1911
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| <<<<<<< HEAD | ||
| uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.9 | ||
| ======= | ||
| uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.8 | ||
| >>>>>>> 245bf6edbc ([AUTOGENERATED] [release/2.8] skip convolution tests on Navi4x (#2675)) | ||
| 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 | ||