Skip to content

Commit df94820

Browse files
Jammy2211claude
authored andcommitted
chore: rename env profile to profile_smoke.yaml (#161 step 6)
config/build/env_vars.yaml -> profile_smoke.yaml (pure rename; no release profile in this repo). Vendored run_smoke.py prefers the canonical name with a legacy fallback until the stage-3 cleanup. Repo-local references updated. Tooling accepts both names since PyAutoHands#183 / PyAutoHeart#101. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 057cbc0 commit df94820

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/scripts/run_smoke.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Run the workspace smoke test suite.
33
4-
Reads `smoke_tests.txt` from the workspace root and `config/build/env_vars.yaml`
4+
Reads `smoke_tests.txt` from the workspace root and `config/build/profile_smoke.yaml`
55
for per-script env var overrides, then runs each listed script with the
66
appropriate environment. Continues through failures and exits non-zero
77
if any script failed.
@@ -23,7 +23,10 @@
2323

2424
WORKSPACE = Path(__file__).resolve().parents[2]
2525
SMOKE_FILE = WORKSPACE / "smoke_tests.txt"
26-
ENV_VARS_FILE = WORKSPACE / "config" / "build" / "env_vars.yaml"
26+
ENV_VARS_FILE = WORKSPACE / "config" / "build" / "profile_smoke.yaml"
27+
if not ENV_VARS_FILE.exists():
28+
# Legacy fallback; removed at the stage-3 cleanup once env_vars.yaml is gone.
29+
ENV_VARS_FILE = WORKSPACE / "config" / "build" / "env_vars.yaml"
2730
SCRIPTS_DIR = WORKSPACE / "scripts"
2831

2932

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ cap grids/masks).
3838
## Testing
3939

4040
On CI, every PR is gated on Python **3.12 and 3.13** by `smoke_tests.yml` (runs
41-
`python .github/scripts/run_smoke.py`, driven by `smoke_tests.txt` + `config/build/env_vars.yaml`
41+
`python .github/scripts/run_smoke.py`, driven by `smoke_tests.txt` + `config/build/profile_smoke.yaml`
4242
the definition of green), `navigator_check.yml` (PyAutoHands's reusable navigator-catalogue check;
4343
see *Notebooks vs Scripts*), and `url_check.yml` (link checking). The smoke and navigator jobs check
4444
out **PyAutoHands** as a sibling and run the PyAuto* libraries from the **same-named branch** of each
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ defaults:
2828
# 2026-07-23: the remaining five overrides were removed for the same reason —
2929
# `imaging/start_here`, `interferometer/start_here`, `group/start_here`,
3030
# `multi/start_here` and `guides/results/` are all autolens_workspace paths
31-
# copied in from that repo's env_vars.yaml. HowToLens contains only
31+
# copied in from that repo's profile_smoke.yaml. HowToLens contains only
3232
# chapter_*/tutorial_*.py, so none of them ever matched a file here.
3333
# Do not copy override patterns between repos; a pattern that matches nothing
3434
# is silently inert, not an override. The list is now empty, and `overrides: []`

0 commit comments

Comments
 (0)