Skip to content

Commit 27388ff

Browse files
authored
[ci] add misc and untested files in skipping (#51715)
so that changes to these tests won't lead to any test running no test runs anything around these files. the list also includes linter configs, as lints always run no matter what. Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
1 parent 8ed6823 commit 27388ff

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

ci/pipeline/determine_tests_to_run.py

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,14 @@ def _emit(line: str):
217217

218218
_emit("ml tune train data serve core_cpp cpp java python doc")
219219
_emit("linux_wheels macos_wheels dashboard tools release_tests")
220-
else:
221-
_emit("ml tune train rllib rllib_directly serve")
222-
_emit("cpp core_cpp java python doc linux_wheels macos_wheels docker")
223-
_emit("dashboard tools workflow data release_tests")
224220

225-
# Log the modified environment variables visible in console.
226-
output_string = " ".join(list(tags))
227-
for tag in tags:
228-
assert tag in _ALL_TAGS, f"Unknown tag {tag}"
221+
# Log the modified environment variables visible in console.
222+
output_string = " ".join(list(tags))
223+
for tag in tags:
224+
assert tag in _ALL_TAGS, f"Unknown tag {tag}"
229225

230-
print(output_string, file=sys.stderr) # Debug purpose
231-
print(output_string)
226+
print(output_string, file=sys.stderr) # Debug purpose
227+
print(output_string)
228+
else:
229+
print("Run all tags", file=sys.stderr)
230+
print("*")

ci/pipeline/test_conditional_testing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
- linux_wheels macos_wheels dashboard release_tests accelerated_dag
7070
7171
.github/CODEOWNERS: lint
72+
README.rst: lint
7273
BUILD.bazel:
7374
- lint ml tune train data serve core_cpp cpp java
7475
- python doc linux_wheels macos_wheels dashboard tools

ci/pipeline/test_rules.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,5 +206,17 @@ src/
206206
;
207207

208208
.github/
209+
README.rst
210+
SECURITY.md
211+
CONTRIBUTING.rst
212+
LICENSE
213+
pylintrc
214+
semgrep.yml
215+
setup_hooks.sh
216+
.pre-commit-config.yaml
217+
.isort.cfg
218+
.prettierrc.toml
219+
build.sh
220+
build-docker.sh
209221
# pass
210222
;

0 commit comments

Comments
 (0)