Skip to content

Commit 4c9ffec

Browse files
authored
Merge pull request #2874 from annietllnd/main
Exclude migration content from testing
2 parents 92cce15 + bad7ca8 commit 4c9ffec

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tools/maintenance.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ def main():
150150
sys.exit(0)
151151
elif os.path.isdir(args.instructions) and "/learning-paths/" in os.path.abspath(args.instructions):
152152
results_dict = check_lp(args.instructions, args.link, args.debug)
153+
elif "/migration" in os.path.abspath(args.instructions):
154+
logging.info("Migration paths are not supported for maintenance tests yet.")
155+
exit(0)
153156
else:
154157
logging.error("-i/--instructions expects a .md file, a CSV with a list of files or a Learning Path directory")
155158
if results_dict is not None:

0 commit comments

Comments
 (0)