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

Moving scala junit test from test_rules_scala.sh to RulesScalaIntegra… #503

Closed
wants to merge 1 commit into from

Conversation

dimagoltsman
Copy link

Moving scala junit test from test_rules_scala.sh to RulesScalaIntegrationTests.scala using bazel-integration-testing framework.

Note:
currently it is running the sandbox with a specific commit of rules_scala.
what is left to do is to switch using the local build of rules_scala and move rest of the tests to RulesScalaIntegrationTests.scala

cc: @ittaiz @genrym

…tionTests.scala using bazel-integration-testing framework
strip_prefix = "bazel-integration-testing-" + build_bazel_integration_testing_version,
)
load("@build_bazel_integration_testing//tools:repositories.bzl", "bazel_binaries")
bazel_binaries(versions = ["0.12.0"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make a bazel_version_notes.md or something that lists all the place we need to update when we bump bazel versions?

"/src/main/java/com/google/devtools/build/lib/bazel/rules/java/" +
"java_stub_template.txt")

rules_scala_version = "a8ef632b1b020cdf2c215ecd9fcfa84bc435efcb"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is pretty wild, we are pointing to a previous version of this repo. Can we comment why?

private def givenRulesScalaWorkspaceFile(): Unit = {
val workspace =
"""
|rules_scala_version="a8ef632b1b020cdf2c215ecd9fcfa84bc435efcb" # update this as needed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we not somehow point to the current version? It feels weird to always be testing a previous version. Also, how updating this seems like a challenge especially if we have many.

@ittaiz
Copy link
Member

ittaiz commented May 18, 2018

Hey,
Haven't had a chance to take a look but as the comment explicitly says the biggest remaining gap is:

Note:
currently it is running the sandbox with a specific commit of rules_scala.
what is left to do is to switch using the local build of rules_scala

@johnynek
Copy link
Member

Sorry I overlooked the comment. I have a bad habit of just reading the code.

@johnynek johnynek mentioned this pull request Jun 21, 2018
@ittaiz ittaiz closed this Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants