Skip to content

Commit

Permalink
Fix up CI job specs
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Nov 24, 2024
1 parent ccacf8f commit e11dc76
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ tasks:
working_directory: examples/bzlmod/hello_world
test_flags: *bzlmod_flags
run_targets:
- "//third-party:vendor"
- "//third-party-in-workspace:vendor"
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
test_targets:
- "//..."
Expand All @@ -735,7 +735,7 @@ tasks:
shell_commands:
- "rm MODULE.bazel.lock"
run_targets:
- "//third-party:vendor"
- "//third-party-in-workspace:vendor"
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
test_targets:
- "//..."
Expand All @@ -745,7 +745,7 @@ tasks:
working_directory: examples/bzlmod/hello_world
test_flags: *bzlmod_flags
run_targets:
- "//third-party:vendor"
- "//third-party-in-workspace:vendor"
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
test_targets:
- "//..."
Expand All @@ -756,7 +756,7 @@ tasks:
# working_directory: examples/bzlmod/hello_world
# test_flags: *bzlmod_flags
# run_targets:
# - "//third-party:vendor"
# - "//third-party-in-workspace:vendor"
# build_targets:
# - "@rules_rust//tools/rust_analyzer:gen_rust_project"
# test_targets:
Expand All @@ -770,7 +770,7 @@ tasks:
working_directory: examples/bzlmod/hello_world
test_flags: *bzlmod_plus_repo_names_flags
run_targets:
- "//third-party:vendor"
- "//third-party-in-workspace:vendor"
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
test_targets:
- "//..."
Expand All @@ -783,7 +783,7 @@ tasks:
working_directory: examples/bzlmod/hello_world
test_flags: *bzlmod_plus_repo_names_flags
run_targets:
- "//third-party:vendor"
- "//third-party-in-workspace:vendor"
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
test_targets:
- "//..."
Expand All @@ -796,7 +796,7 @@ tasks:
working_directory: examples/bzlmod/hello_world
test_flags: *bzlmod_plus_repo_names_flags
run_targets:
- "//third-party:vendor"
- "//third-party-in-workspace:vendor"
build_targets:
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
test_targets:
Expand Down
4 changes: 2 additions & 2 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bcr_test_module:
shell_commands:
- "rm MODULE.bazel.lock"
run_targets:
- "//third-party:vendor"
- "//third-party-in-workspace:vendor"
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
test_targets:
- "//..."
Expand All @@ -32,7 +32,7 @@ bcr_test_module_windows:
shell_commands:
- "rm MODULE.bazel.lock"
run_targets:
- "//third-party:vendor"
- "//third-party-in-workspace:vendor"
build_targets:
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
test_targets:
Expand Down
5 changes: 4 additions & 1 deletion examples/bzlmod/hello_world/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ crate.annotation(
data = [":cargo_toml"],
# Optional, you probably don't need this. Defaults to all from_cargo
# invocations in this module.
repositories = ["crates_in_workspace", "crates_without_workspace"],
repositories = [
"crates_in_workspace",
"crates_without_workspace",
],
# Optional, you probably don't need this, defaults to "*".
version = "*",
)
Expand Down

0 comments on commit e11dc76

Please sign in to comment.