Skip to content

Commit

Permalink
Move heuristic related files out of .github into torchci (#4609)
Browse files Browse the repository at this point in the history
We have so many locations for scripts i dont know where to put what, but
if I'm going to add more scripts, I figure it's better to do it in
torchci instead of .github
  • Loading branch information
clee2000 authored Oct 3, 2023
1 parent 9f460f7 commit e6db930
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update_test_file_ratings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
pull_request:
paths:
- ".github/workflows/update_test_file_ratings.yml"
- ".github/scripts/calculate_file_test_rating.py"
- ".github/scripts/get_merge_base_info.py"
- "torchci/scripts/calculate_file_test_rating.py"
- "torchci/scripts/get_merge_base_info.py"
schedule:
- cron: 5 11 * * * # At 11:05 UTC every day or about 4am PT

Expand Down Expand Up @@ -35,17 +35,17 @@ jobs:
pip3 install rockset==1.0.3
- name: Run tests
run: python3 test-infra/.github/scripts/test_calculate_file_test_rating.py
run: python3 test-infra/torchci/scripts/test_calculate_file_test_rating.py

- name: Get merge base info
run: |
python3 test-infra/.github/scripts/get_merge_base_info.py
python3 test-infra/torchci/scripts/get_merge_base_info.py
env:
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}

- name: Generate file test ratings
run: |
python3 test-infra/.github/scripts/calculate_file_test_rating.py
python3 test-infra/torchci/scripts/calculate_file_test_rating.py
env:
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}

Expand Down
File renamed without changes.
File renamed without changes.

1 comment on commit e6db930

@vercel
Copy link

@vercel vercel bot commented on e6db930 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.