File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 run : .venv_docs/bin/python -m pytest -vv src/tests/docs_bzl
4848
4949 - name : Run bazel test targets
50- run : bazel test --lockfile_mode=error //...
50+ run : bazel test --lockfile_mode=error //... --build_tests_only
51+
52+ - name : Build all targets
53+ # Skip tests, since some are non buildable negative tests
54+ run : bazel build --lockfile_mode=error //... -- -//src/tests/...
5155
5256 - name : Prepare bundled test report
5357 if : ! cancelled()
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ def _rewrite_needs_json_to_docs_sources(labels):
5050 out = []
5151 for x in labels :
5252 s = str (x )
53- if s .endswith ("// :needs_json" ):
54- out .append (s .replace ("// :needs_json" , "// :docs_sources" ))
53+ if s .endswith (":needs_json" ):
54+ out .append (s .replace (":needs_json" , ":docs_sources" ))
5555 else :
5656 out .append (s )
5757 return out
@@ -61,9 +61,9 @@ def _rewrite_needs_json_to_sourcelinks(labels):
6161 out = []
6262 for x in labels :
6363 s = str (x )
64- if s .endswith ("// :needs_json" ):
65- out .append (s .replace ("// :needs_json" , "// :sourcelinks_json" ))
66- #Items which do not end up with '// :needs_json' shall not be appended to 'out'.
64+ if s .endswith (":needs_json" ):
65+ out .append (s .replace (":needs_json" , ":sourcelinks_json" ))
66+ #Items which do not end up with ':needs_json' shall not be appended to 'out'.
6767 #They are treated separately and are not related to source code linking.
6868 return out
6969
You can’t perform that action at this time.
0 commit comments