Skip to content

Commit

Permalink
Enable Bzlmod
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Jan 9, 2025
1 parent 2eadc86 commit e808639
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ tasks:
- "//:gazelle_ci"
test_targets:
- "..."
- "-//internal:bazel_test"
- "-//cmd/gazelle:gazelle_test"
bcr_tests:
name: BCR test module
platform: ${{ platform }}
Expand Down
3 changes: 0 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# This file contains options passed to Bazel when running tests.
# They are used by Travis CI and by non-Bazel test scripts.

# TODO: Make all tests work with Bzlmod.
common --noenable_bzlmod

common:ci --verbose_failures
common:ci --sandbox_debug
common:ci --spawn_strategy=standalone
Expand Down
2 changes: 1 addition & 1 deletion cmd/gazelle/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ go_test(
"//internal/wspace",
"//testtools",
"@com_github_google_go_cmp//cmp",
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
"@io_bazel_rules_go//go/tools/bazel",
],
)

Expand Down
2 changes: 1 addition & 1 deletion internal/gazellebinarytest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ go_test(
rundir = ".",
deps = [
"//testtools",
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
"@io_bazel_rules_go//go/tools/bazel",
],
)

Expand Down
2 changes: 1 addition & 1 deletion internal/module/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ go_test(
embed = [":module"],
deps = [
"@com_github_google_go_cmp//cmp",
"@io_bazel_rules_go//go/runfiles:go_default_library",
"@io_bazel_rules_go//go/runfiles",
],
)
2 changes: 1 addition & 1 deletion language/go/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ go_test(
"//walk",
"@com_github_bazelbuild_buildtools//build",
"@com_github_google_go_cmp//cmp",
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
"@io_bazel_rules_go//go/tools/bazel",
"@org_golang_x_tools_go_vcs//:vcs",
],
)
Expand Down

0 comments on commit e808639

Please sign in to comment.