Skip to content

Commit ed31b9f

Browse files
committed
fix(bench): override entrypoint to python3 for bake docker run
1 parent 9a666ff commit ed31b9f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/bench-sweep.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,11 @@ jobs:
103103
mkdir -p /data/bench_repos
104104
BAKE_LOG=/data/bench_repos/bake.log
105105
if docker run --rm \
106+
--entrypoint python3 \
106107
-v /data/bench_repos:/cache/contextbench_repos \
107108
-e BAKE_PARALLELISM=16 \
108109
ghcr.io/nikolay-e/treemapper-bench:latest \
109-
python /app/scripts/bake_bench_cache.py /cache/contextbench_repos \
110+
/app/scripts/bake_bench_cache.py /cache/contextbench_repos \
110111
>> "\${BAKE_LOG}" 2>&1; then
111112
touch /data/bench_repos/.ready
112113
echo "[bake] OK at \$(date -u +%Y-%m-%dT%H:%M:%SZ)" >> "\${BAKE_LOG}"

0 commit comments

Comments
 (0)