Skip to content

Commit 9738dd8

Browse files
authored
Run code from main (#130)
1 parent f742c1f commit 9738dd8

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

.github/workflows/process_results.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
4040
ref: "${{ env.BRANCH_NAME }}"
4141
path: asv-runner/
4242

43+
# ci/ scripts are run from main, not from whatever stale copy lives
44+
# on the storage branch.
45+
- name: Checkout asv-runner main branch
46+
uses: actions/checkout@v6
47+
with:
48+
ref: main
49+
path: asv-runner-code/
50+
4351
# Idempotent migration from the legacy loose-files layout to compressed
4452
# tarballs. No-op once the tarballs exist.
4553
- name: Migrate legacy storage layout
@@ -80,12 +88,12 @@ jobs:
8088

8189
- name: Process ASV results
8290
run: |
83-
python asv-runner/ci/process_results.py --input-path=asv_bench/ --output-path=asv-runner/data
91+
python asv-runner-code/ci/process_results.py --input-path=asv_bench/ --output-path=asv-runner/data
8492
rm -rf asv-runner/docs
8593
mv asv_bench/html/ asv-runner/docs
8694
8795
- name: Make issues for new regressions
88-
run: python asv-runner/ci/make_issues.py --input-path=asv-runner/data
96+
run: python asv-runner-code/ci/make_issues.py --input-path=asv-runner/data
8997
env:
9098
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9199

.github/workflows/run_asvs_2026_01_04.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ jobs:
4747
ref: ${{ env.BRANCH_NAME }}
4848
path: asv-runner/
4949

50+
# ci/ scripts are run from main, not from whatever stale copy lives
51+
# on the storage branch. The storage branch is data-only.
52+
- name: Checkout asv-runner main branch
53+
uses: actions/checkout@v6
54+
with:
55+
ref: main
56+
path: asv-runner-code/
57+
5058
- name: Claim next SHA
5159
id: claim
5260
run: |
@@ -70,7 +78,7 @@ jobs:
7078
rm -rf data/results data/envs
7179
7280
cd ..
73-
sha="$(python3 asv-runner/ci/find_commit_to_run.py --input-path=asv-runner/data/ --repo-path=.)"
81+
sha="$(python3 asv-runner-code/ci/find_commit_to_run.py --input-path=asv-runner/data/ --repo-path=.)"
7482
if [ "$sha" = "NONE" ]; then
7583
new_commit=no
7684
claimed=true

0 commit comments

Comments
 (0)