2727 runs-on : ubuntu-24.04
2828 defaults :
2929 run :
30- shell : bash -el {0}
30+ shell : bash -e {0}
3131 permissions :
3232 contents : write
3333 outputs :
@@ -47,12 +47,12 @@ 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
50+ # ci/ scripts are run from the workflow's own ref (main on schedule,
51+ # whatever branch you choose on workflow_dispatch), not from whatever
52+ # stale copy lives on the storage branch. The storage branch is data-only.
53+ - name : Checkout asv-runner code
5354 uses : actions/checkout@v6
5455 with :
55- ref : main
5656 path : asv-runner-code/
5757
5858 - name : Claim next SHA
6868 git config user.name "github-actions[bot]"
6969 git config user.email "github-actions[bot]@users.noreply.github.com"
7070
71- # Migrate from legacy loose uncompressed JSON/YAML files to
72- # per-file zstd. Idempotent: subsequent runs find no *.json
73- # (besides machine.json, excluded) or *.yml and the find
74- # produces no input.
75- if [ -d data/results/asvrunner ]; then
76- find data/results/asvrunner -name '*.json' ! -name 'machine.json' -print0 |
77- xargs -0 -r -P 4 -n 50 zstd --rm -19 -q
78- fi
79- if [ -d data/envs ]; then
80- find data/envs -name '*.yml' -print0 |
81- xargs -0 -r -P 4 -n 50 zstd --rm -19 -q
82- fi
83-
8471 cd ..
8572 sha="$(python3 asv-runner-code/ci/find_commit_to_run.py --input-path=asv-runner/data/ --repo-path=.)"
8673 if [ "$sha" = "NONE" ]; then
@@ -129,7 +116,7 @@ jobs:
129116 runs-on : ubuntu-24.04
130117 defaults :
131118 run :
132- shell : bash -el {0}
119+ shell : bash -e {0}
133120 env :
134121 SHA : ${{ needs.claim.outputs.sha }}
135122 steps :
@@ -186,7 +173,7 @@ jobs:
186173 runs-on : ubuntu-24.04
187174 defaults :
188175 run :
189- shell : bash -el {0}
176+ shell : bash -e {0}
190177 permissions :
191178 contents : write
192179 env :
@@ -213,17 +200,6 @@ jobs:
213200 git config user.name "github-actions[bot]"
214201 git config user.email "github-actions[bot]@users.noreply.github.com"
215202
216- # Migrate from legacy loose uncompressed files to per-file zstd.
217- # Idempotent.
218- if [ -d data/results/asvrunner ]; then
219- find data/results/asvrunner -name '*.json' ! -name 'machine.json' -print0 |
220- xargs -0 -r -P 4 -n 50 zstd --rm -19 -q
221- fi
222- if [ -d data/envs ]; then
223- find data/envs -name '*.yml' -print0 |
224- xargs -0 -r -P 4 -n 50 zstd --rm -19 -q
225- fi
226-
227203 # Drop in this run's new files.
228204 mkdir -p data/results/asvrunner data/envs
229205 cp /tmp/new/results/benchmarks.json data/results/
0 commit comments