Skip to content

GitHub action request #13

@ArthurBandaryk

Description

@ArthurBandaryk

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.bazel or similar).
  • If so, determines all the possible build and test targets in the repo (not just directory).
  • Tries to bazel build (and/or bazel 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions