-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
For now we have a number of repos, some private some public, close to all of them bazel ones. On each of them we'd like to easily do a build check and run all tests before merging. To avoid having to have to copy code around or manually tweak target names (e.g. bazel test test:eventuals only works in eventuals) from repo to repo or every time it updates, it would be nice to have a generic github action that:
- Checks if this is a bazel repo (perhaps by looking for a
BUILD.bazelor similar). - If so, determines all the possible build and test targets in the repo (not just directory).
- Tries to
bazel build(and/orbazel test) every target.
This would allow us to create branch protection rules that does not depend on the individual repo, and the action can live in one isolated place making it easier to maintain and update.
Metadata
Metadata
Assignees
Labels
No labels