Skip to content

Require test on every Bazel repository - #32

Merged
benbirt merged 1 commit into
mainfrom
default-test-check
Nov 30, 2026
Merged

benbirt merged 1 commit into
mainfrom
default-test-check

Conversation

@benbirt

@benbirt benbirt commented Nov 29, 2026

Copy link
Copy Markdown
Owner

The commoning you asked for: every Bazel repository requires test.

repos.jsonnet gains local bazel = { build: 'bazel', required_checks: ['test'] }, and each Bazel entry becomes bazel { ... }, so it no longer spells out either field. rules_tofu overrides required_checks: it keeps its own CI, a matrix over Ubuntu and macOS and two Bazel versions that the shared action does not cover. The compiled repos.json differs only in the three checks below. Schema and github/ are unchanged.

Plan: 0 to add, 3 to change, 0 to destroy. Each change is the required check's name:

Repository Now After
benbirt.io build test
eavesbard build test
github-infra lint test

Order

Merging this blocks pull requests in those three repositories until each one's CI has a job called test. Their current jobs are build, build and lint. The callers that add it are next:

  • github-infra: rename the lint job to test (one line).
  • benbirt.io and eavesbard: replace their CI with a bazel-ci caller.

Each of those pull requests produces test itself, so it can merge straight after this applies. I'll have them open and green before you merge this one.

The two comments were written by Neon.

🤖 Generated with Claude Code

A Jsonnet default gives every Bazel repository build: bazel and the
required check test, the job that runs the shared bazel-ci action.
benbirt.io and eavesbard (build) and github-infra (lint) switch to it;
rules_tofu keeps its own checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benbirt
benbirt merged commit 032dbff into main Nov 30, 2026
2 checks passed
@benbirt
benbirt deleted the default-test-check branch November 30, 2026 15:10
benbirt added a commit that referenced this pull request Nov 30, 2026
github-infra's ruleset requires test since #32, like every other Bazel
repository's. The job was called lint while the ruleset required that.
Merge after #32 has applied.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant