diff --git a/scripts/ci/get_modified_tests.py b/scripts/ci/get_modified_tests.py index 23793aae620..1de52633d20 100755 --- a/scripts/ci/get_modified_tests.py +++ b/scripts/ci/get_modified_tests.py @@ -57,6 +57,8 @@ def main(): files = commit.split("\n") tests = set() for f in files: + if f.endswith(".rst"): + continue d = os.path.dirname(f) while d: if os.path.exists(os.path.join(d, "testcase.yaml")) or os.path.exists(os.path.join(d, "sample.yaml")):