##// END OF EJS Templates
only avoid clobbering corrupt dbs that have some content...
only avoid clobbering corrupt dbs that have some content this logic can be triggered by connection failures that do not mean the file is corrupt, so we don't want to lose data unnecessarily.

File last commit:

r7863:28e099c2
r22271:05e6b192
Show More
post_pr_test.py
13 lines | 308 B | text/x-python | PythonLexer
Fernando Perez
Add missing shebang line to post_pr_test script.
r7010 #!/usr/bin/env python
"""Post the results of a pull request test to Github.
"""
Thomas Kluyver
Refactor test_pr.py to a more coherent design.
r7863 from test_pr import TestRun
Thomas Kluyver
Pickle PR test logs so they can be posted without rerunning tests.
r6713
Thomas Kluyver
Refactor test_pr.py to a more coherent design.
r7863 testrun = TestRun.load_results()
testrun.post_logs()
testrun.print_results()
testrun.post_results_comment()
Thomas Kluyver
Pickle PR test logs so they can be posted without rerunning tests.
r6713
print()
print("Posted test results to pull request")
Thomas Kluyver
Refactor test_pr.py to a more coherent design.
r7863 print(" " + testrun.pr['html_url'])