##// END OF EJS Templates
Merge pull request #2134 from bfroehle/2to3_next...
Merge pull request #2134 from bfroehle/2to3_next Apply 2to3 `next` fix.

File last commit:

r7467:29dc2c65
r7857:87d86c16 merge
Show More
post_pr_test.py
13 lines | 452 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Post the results of a pull request test to Github.
"""
from test_pr import load_results, post_logs, post_results_comment, print_results
num, results, pr, unavailable_pythons = load_results()
results_urls = post_logs(results)
print_results(pr, results_urls, unavailable_pythons)
post_results_comment(pr, results_urls, num, unavailable_pythons)
print()
print("Posted test results to pull request")
print(" " + pr['html_url'])