We're already making four GitHub requests during the hourly update, lets include another. We may need to do another request first to find out what the default branch is.
We'll also need to add a new attribute on to Project of test_status or last_commit_status or something like that.
Files
models.py, app.py, run_update.py, tests/
Tasks
[x] Write a test to find the new last_commit_status on projects
Description
Continuing the discussion from https://github.com/codeforamerica/brigade/pull/435#issuecomment-171398472. In order to improve the Project Monitor, we should start including the projects testing status in the CfAPI.
We're already making four GitHub requests during the hourly update, lets include another. We may need to do another request first to find out what the default branch is.
We'll also need to add a new attribute on to Project of
test_status
orlast_commit_status
or something like that.Files
models.py, app.py, run_update.py, tests/
Tasks
last_commit_status
on projects