Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a48a8c8

Browse filesBrowse files
fweikertbrandjon
authored andcommitted
Remove duplicate code from presubmit config (bazel-contrib#224)
1 parent fe5e0fa commit a48a8c8
Copy full SHA for a48a8c8

File tree

1 file changed

+6
-20
lines changed
Filter options

1 file changed

+6
-20
lines changed

‎.bazelci/presubmit.yml

Copy file name to clipboardExpand all lines: .bazelci/presubmit.yml
+6-20Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
# TODO(#144): When Bazel 0.29 is released, the docgen workflow will work, and
55
# we can go back to using `...` for build_targets.
66
---
7-
platforms:
8-
ubuntu1604:
9-
# I don't trust my knowledge of YAML enough to factor this list into an
10-
# anchor.
7+
all_targets: &all_targets
118
build_targets:
129
- "//examples/..."
1310
- "//experimental/..."
@@ -16,21 +13,10 @@ platforms:
1613
- "//tools/..."
1714
test_targets:
1815
- "..."
16+
platforms:
17+
ubuntu1604:
18+
<<: *all_targets
1919
ubuntu1804:
20-
build_targets:
21-
- "//examples/..."
22-
- "//experimental/..."
23-
- "//python/..."
24-
- "//rules_python/..."
25-
- "//tools/..."
26-
test_targets:
27-
- "..."
20+
<<: *all_targets
2821
macos:
29-
build_targets:
30-
- "//examples/..."
31-
- "//experimental/..."
32-
- "//python/..."
33-
- "//rules_python/..."
34-
- "//tools/..."
35-
test_targets:
36-
- "..."
22+
<<: *all_targets

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.