bazel-contrib / target-determinator

Determines which Bazel targets were affected between two git commits.
Apache License 2.0
144 stars 22 forks source link

Use remote-jdk when running tests #49

Closed alokpr closed 1 year ago

alokpr commented 1 year ago

This avoids dependency on local-jdk which may not always be present.

The test - changedBazelMajorVersion_native - still fails without local-jdk because it uses bazel v3.7.1 which presumably does not support flag --java_runtime_version. It might be best to add the remotejdk setting in target-determinator-testdata repository to make the test runner independent of bazel version inconsistencies.