Skip to content

Commit 766a742

Browse files
committed
remove pycache
1 parent d30f807 commit 766a742

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/benchmark-tmpl.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ env:
8989
DISAGG: ${{ inputs.disagg }}
9090
RUN_EVAL: ${{ inputs.run-eval }}
9191
EVAL_ONLY: ${{ inputs.eval-only }}
92+
PYTHONDONTWRITEBYTECODE: '1'
9293

9394
permissions:
9495
contents: read
@@ -101,6 +102,10 @@ jobs:
101102
steps:
102103
- name: Resource cleanup (pre-run)
103104
run: &resource-cleanup |
105+
# Cleanup root-owned files left by containers (e.g. __pycache__) that block
106+
# actions/checkout clean and workspace removal.
107+
sudo find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
108+
104109
# Cleanup Docker resources
105110
if command -v docker >/dev/null 2>&1 && docker info >/dev/null 2>&1; then
106111
echo "[Docker] Cleaning up resources ..."

0 commit comments

Comments
 (0)