Skip to content

feat(reusable-ci-minimal): add a run-go-tests input (default true) - #371

Merged
jdfalk merged 1 commit into
mainfrom
feat/reusable-ci-minimal-run-go-tests-input
Oct 9, 2026
Merged

jdfalk merged 1 commit into
mainfrom
feat/reusable-ci-minimal-run-go-tests-input

Conversation

@jdfalk

@jdfalk jdfalk commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Callers that run their own sharded Go test jobs need to switch off the built-in Go Tests (short, race) job (go-test-short, line 119 at SHA 828afb5) without losing Go Vet & Build, Go Lint, the frontend jobs or the summary.

This adds inputs.run-go-tests (type: boolean, required: false, default: true, description "Run the built-in Go Tests (short, race) job; set false when the caller runs its own") and gates that one job with if: ${{ inputs.run-go-tests }}. Behaviour for existing callers does not change (default true). No change to ci-minimal-summary is needed: it already treats a skipped job as not failed (it only fails on failure) and lists it as "skipped" in the summary table.

First caller: falkcorp/audiobook-organizer, brief 07-C3 (four-shard short-test run with a coverage-merge job). The GUID index regenerated by the pre-commit hook is included.

yaml.safe_load and actionlint clean. Changelog fragment added.

🤖 Generated with Claude Code

https://claude.ai/code/session_015yVABDgW5vRPPprhhFYZuQ

Callers that shard the short Go suite themselves (audiobook-organizer's
07-C3, four shards plus a coverage-merge job) need to switch off the
built-in `Go Tests (short, race)` job without losing Go Vet & Build, Go
Lint, the frontend jobs or the summary. The new boolean input defaults to
true, so no existing caller changes behaviour; ci-minimal-summary already
treats a skipped job as not failed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015yVABDgW5vRPPprhhFYZuQ
@github-actions github-actions Bot added size/M github-actions GitHub Actions related work type:documentation Improvements or additions to documentation type:testing Testing related work module:config Configuration management workflow:github-actions GitHub Actions workflows and removed size/M labels Oct 9, 2026
@jdfalk
jdfalk merged commit 8d94ff2 into main Oct 9, 2026
42 checks passed
@jdfalk
jdfalk deleted the feat/reusable-ci-minimal-run-go-tests-input branch October 9, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github-actions GitHub Actions related work module:config Configuration management type:documentation Improvements or additions to documentation type:testing Testing related work workflow:github-actions GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant