test-my-pr: the check_requirements must be called otherwise __make_cmd is not set

This commit is contained in:
Daniel Marjamäki 2022-09-02 09:30:26 +02:00
parent b7e5b702a4
commit 7046687fce
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ if __name__ == "__main__":
print(args)
if not lib.check_requirements():
print("Error: Check requirements")
sys.exit(1)
work_path = os.path.abspath(args.work_path)
if not os.path.exists(work_path):
os.makedirs(work_path)