Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Bazel selective test running #99

Closed
mvgijssel opened this issue Sep 1, 2022 · 2 comments · Fixed by #102
Closed

Setup Bazel selective test running #99

mvgijssel opened this issue Sep 1, 2022 · 2 comments · Fixed by #102
Assignees
Labels
enhancement New feature or request

Comments

@mvgijssel
Copy link
Member

Currently for every change to the repository both the hypervisor tests and the workstation tests are being triggered, even though some of the source files related to those tests aren't touched making it unnecessary to run those tests in the first place.

Because we are using Bazel and git it should be doable to figure out for each change what targets have changed and thus what associated tests should be run!

@mvgijssel mvgijssel added the enhancement New feature or request label Sep 1, 2022
@mvgijssel mvgijssel self-assigned this Sep 1, 2022
@mvgijssel
Copy link
Member Author

Issue on Bazel about this topic bazelbuild/bazel#7962

@mvgijssel
Copy link
Member Author

This seems to be a good tool to achieve this https://github.com/Tinder/bazel-diff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant