Skip to content

Commit b0eefcc

Browse files
olivermeyerclaude
andcommitted
ci: auto-enable very_long_running tests on release branch pushes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6d7720f commit b0eefcc

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ uv run pytest -m long_running -v
259259

260260
**CI Behavior**:
261261

262-
* **NEVER run by default**
263-
* **Only run when explicitly enabled** via:
262+
* **Automatically run on every push to `release/v*` branches** (no opt-in needed)
263+
* **Otherwise never run by default** — must be explicitly enabled via:
264264
* PR label `enable:test:very_long_running`, OR
265265
* Commit message contains `enable:test:very_long_running`
266266

.github/workflows/_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ jobs:
217217
if: |
218218
!cancelled() && (
219219
contains(inputs.commit_message, 'enable:test:very_long_running') ||
220-
contains(github.event.pull_request.labels.*.name, 'enable:test:very_long_running')
220+
contains(github.event.pull_request.labels.*.name, 'enable:test:very_long_running') ||
221+
(github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release/v'))
221222
)
222223
uses: ./.github/actions/run-tests
223224
with:

0 commit comments

Comments
 (0)