Skip to content

Commit 58330ea

Browse files
committed
Force clean Space rebuilds
1 parent 59ee907 commit 58330ea

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

.dockerignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.git
2+
.github
3+
.venv
4+
.pytest_cache
5+
__pycache__
6+
**/__pycache__
7+
*.pyc
8+
*.pyo
9+
*.pyd
10+
*.egg-info
11+
htmlcov
12+
.coverage

.github/workflows/deploy-space.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ jobs:
5757
if: steps.config.outputs.deploy_enabled == 'true'
5858
run: uvx --from git+https://github.com/meta-pytorch/OpenEnv.git openenv validate --verbose
5959

60+
- name: Remove generated artifacts before packaging
61+
if: steps.config.outputs.deploy_enabled == 'true'
62+
run: |
63+
git clean -fdX
64+
find . -name '__pycache__' -type d -prune -exec rm -rf {} +
65+
find . -name '*.egg-info' -type d -prune -exec rm -rf {} +
66+
6067
- name: Push to Hugging Face Space
6168
if: steps.config.outputs.deploy_enabled == 'true'
6269
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "openenv-code-review-env"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "Production-grade OpenEnv code review benchmark with deterministic grading and realistic pull request tasks."
99
readme = "README.md"
1010
requires-python = ">=3.11"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)