Update test exit code for CI
This commit is contained in:
parent
16160ce086
commit
d8be5863e5
1 changed files with 2 additions and 1 deletions
3
runtests
3
runtests
|
@ -14,7 +14,8 @@ EXIT_CODE = 0
|
||||||
def check_if_exit_code():
|
def check_if_exit_code():
|
||||||
if EXIT_CODE != 0:
|
if EXIT_CODE != 0:
|
||||||
print("\n{}Tests Failed. {}Please check messages above and then re-run the command.".format(Fore.RED, Fore.YELLOW))
|
print("\n{}Tests Failed. {}Please check messages above and then re-run the command.".format(Fore.RED, Fore.YELLOW))
|
||||||
exit(EXIT_CODE)
|
print("{}Exit Code: {}".format(Fore.RED, EXIT_CODE))
|
||||||
|
exit(1)
|
||||||
|
|
||||||
print("{}Linting...".format(Fore.YELLOW))
|
print("{}Linting...".format(Fore.YELLOW))
|
||||||
|
|
||||||
|
|
Reference in a new issue