{"action":"created","issue":{"url":"https://api.github.com/repos/cylc/cylc/issues/2766","repository_url":"https://api.github.com/repos/cylc/cylc","labels_url":"https://api.github.com/repos/cylc/cylc/issues/2766/labels{/name}","comments_url":"https://api.github.com/repos/cylc/cylc/issues/2766/comments","events_url":"https://api.github.com/repos/cylc/cylc/issues/2766/events","html_url":"https://github.com/cylc/cylc/pull/2766","id":355846960,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMjc5ODM3","number":2766,"title":"Add coverage to the project reports.","user":{"login":"kinow","id":304786,"node_id":"MDQ6VXNlcjMwNDc4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/304786?v=4","gravatar_id":"","url":"https://api.github.com/users/kinow","html_url":"https://github.com/kinow","followers_url":"https://api.github.com/users/kinow/followers","following_url":"https://api.github.com/users/kinow/following{/other_user}","gists_url":"https://api.github.com/users/kinow/gists{/gist_id}","starred_url":"https://api.github.com/users/kinow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinow/subscriptions","organizations_url":"https://api.github.com/users/kinow/orgs","repos_url":"https://api.github.com/users/kinow/repos","events_url":"https://api.github.com/users/kinow/events{/privacy}","received_events_url":"https://api.github.com/users/kinow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kinow","id":304786,"node_id":"MDQ6VXNlcjMwNDc4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/304786?v=4","gravatar_id":"","url":"https://api.github.com/users/kinow","html_url":"https://github.com/kinow","followers_url":"https://api.github.com/users/kinow/followers","following_url":"https://api.github.com/users/kinow/following{/other_user}","gists_url":"https://api.github.com/users/kinow/gists{/gist_id}","starred_url":"https://api.github.com/users/kinow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinow/subscriptions","organizations_url":"https://api.github.com/users/kinow/orgs","repos_url":"https://api.github.com/users/kinow/repos","events_url":"https://api.github.com/users/kinow/events{/privacy}","received_events_url":"https://api.github.com/users/kinow/received_events","type":"User","site_admin":false},"assignees":[{"login":"kinow","id":304786,"node_id":"MDQ6VXNlcjMwNDc4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/304786?v=4","gravatar_id":"","url":"https://api.github.com/users/kinow","html_url":"https://github.com/kinow","followers_url":"https://api.github.com/users/kinow/followers","following_url":"https://api.github.com/users/kinow/following{/other_user}","gists_url":"https://api.github.com/users/kinow/gists{/gist_id}","starred_url":"https://api.github.com/users/kinow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinow/subscriptions","organizations_url":"https://api.github.com/users/kinow/orgs","repos_url":"https://api.github.com/users/kinow/repos","events_url":"https://api.github.com/users/kinow/events{/privacy}","received_events_url":"https://api.github.com/users/kinow/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cylc/cylc/milestones/5","html_url":"https://github.com/cylc/cylc/milestone/5","labels_url":"https://api.github.com/repos/cylc/cylc/milestones/5/labels","id":262614,"node_id":"MDk6TWlsZXN0b25lMjYyNjE0","number":5,"title":"soon","description":"A few months in the future. Top priority issues and easy fixes should initially be marked against this milestone, and then moved to *next-release* if work progresses quickly enough.","creator":{"login":"hjoliver","id":2362137,"node_id":"MDQ6VXNlcjIzNjIxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2362137?v=4","gravatar_id":"","url":"https://api.github.com/users/hjoliver","html_url":"https://github.com/hjoliver","followers_url":"https://api.github.com/users/hjoliver/followers","following_url":"https://api.github.com/users/hjoliver/following{/other_user}","gists_url":"https://api.github.com/users/hjoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/hjoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjoliver/subscriptions","organizations_url":"https://api.github.com/users/hjoliver/orgs","repos_url":"https://api.github.com/users/hjoliver/repos","events_url":"https://api.github.com/users/hjoliver/events{/privacy}","received_events_url":"https://api.github.com/users/hjoliver/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":0,"state":"open","created_at":"2013-02-08T07:07:13Z","updated_at":"2018-10-16T15:29:13Z","due_on":"2018-12-31T08:00:00Z","closed_at":null},"comments":20,"created_at":"2018-08-31T05:44:42Z","updated_at":"2018-10-16T21:59:54Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cylc/cylc/pulls/2766","html_url":"https://github.com/cylc/cylc/pull/2766","diff_url":"https://github.com/cylc/cylc/pull/2766.diff","patch_url":"https://github.com/cylc/cylc/pull/2766.patch"},"body":"Travis-CI configuration was updated to use build stages. The build matrix was moved to the test stage, and extra configuration for coverage.py and codacy were added.\r\n\r\nThe tool used to collect coverage from the tests in [Coverage.py](https://coverage.readthedocs.io/en/coverage-4.5.1a/), which is supported by multiple build and reporting systems.\r\n\r\nDue to the nature of the tests in cylc, and to how they run in parallel in different containers in Travis-CI, we had to use a [`sitecustomize.py`](https://docs.python.org/3/library/site.html) script.\r\n\r\nAs Codacy was already used for code analysis, this pull request includes settings to export the coverage report to Codacy. I assume the Codacy token is already set up. So maybe just merging the pull request would already make the coverage report available in the [cylc dashboard](https://app.codacy.com/project/Cylc/cylc/dashboard).\r\n\r\nIt is also possible to get the coverage of pull requests.\r\n\r\nCheers\r\nBruno"},"comment":{"url":"https://api.github.com/repos/cylc/cylc/issues/comments/430416281","html_url":"https://github.com/cylc/cylc/pull/2766#issuecomment-430416281","issue_url":"https://api.github.com/repos/cylc/cylc/issues/2766","id":430416281,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDQxNjI4MQ==","user":{"login":"kinow","id":304786,"node_id":"MDQ6VXNlcjMwNDc4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/304786?v=4","gravatar_id":"","url":"https://api.github.com/users/kinow","html_url":"https://github.com/kinow","followers_url":"https://api.github.com/users/kinow/followers","following_url":"https://api.github.com/users/kinow/following{/other_user}","gists_url":"https://api.github.com/users/kinow/gists{/gist_id}","starred_url":"https://api.github.com/users/kinow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinow/subscriptions","organizations_url":"https://api.github.com/users/kinow/orgs","repos_url":"https://api.github.com/users/kinow/repos","events_url":"https://api.github.com/users/kinow/events{/privacy}","received_events_url":"https://api.github.com/users/kinow/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T21:59:54Z","updated_at":"2018-10-16T21:59:54Z","author_association":"MEMBER","body":"@hjoliver success! (apparently) 🎉🚀 \r\n\r\nhttps://codecov.io/gh/cylc/cylc\r\n\r\nWe are now at near 59% coverage, which is impressive given the size and complexity of the project, but there are still parts that will need to be changed for Python 3 but are not yet covered 😟 "}}
{"actor":{"display_login":"kinow"}}