{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/E3SM-Project/scream/pulls/27","id":218082202,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDgyMjAy","html_url":"https://github.com/E3SM-Project/scream/pull/27","diff_url":"https://github.com/E3SM-Project/scream/pull/27.diff","patch_url":"https://github.com/E3SM-Project/scream/pull/27.patch","issue_url":"https://api.github.com/repos/E3SM-Project/scream/issues/27","number":27,"state":"open","locked":false,"title":"Adding a macro to create unit tests.","user":{"login":"bartgol","id":3226046,"node_id":"MDQ6VXNlcjMyMjYwNDY=","avatar_url":"https://avatars0.githubusercontent.com/u/3226046?v=4","gravatar_id":"","url":"https://api.github.com/users/bartgol","html_url":"https://github.com/bartgol","followers_url":"https://api.github.com/users/bartgol/followers","following_url":"https://api.github.com/users/bartgol/following{/other_user}","gists_url":"https://api.github.com/users/bartgol/gists{/gist_id}","starred_url":"https://api.github.com/users/bartgol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartgol/subscriptions","organizations_url":"https://api.github.com/users/bartgol/orgs","repos_url":"https://api.github.com/users/bartgol/repos","events_url":"https://api.github.com/users/bartgol/events{/privacy}","received_events_url":"https://api.github.com/users/bartgol/received_events","type":"User","site_admin":false},"body":"This mini PR introduces a macro for unit tests creation. Avoid code duplication and potential errors by putting all the cmake logic in a single place, for all tests.\r\n\r\nSo far, I only used it in the share tests.","created_at":"2018-09-25T18:49:30Z","updated_at":"2018-09-25T18:49:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1069155486,"node_id":"MDU6TGFiZWwxMDY5MTU1NDg2","url":"https://api.github.com/repos/E3SM-Project/scream/labels/cmake","name":"cmake","color":"53f4a4","default":false},{"id":1069155228,"node_id":"MDU6TGFiZWwxMDY5MTU1MjI4","url":"https://api.github.com/repos/E3SM-Project/scream/labels/testing","name":"testing","color":"ddae56","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/E3SM-Project/scream/pulls/27/commits","review_comments_url":"https://api.github.com/repos/E3SM-Project/scream/pulls/27/comments","review_comment_url":"https://api.github.com/repos/E3SM-Project/scream/pulls/comments{/number}","comments_url":"https://api.github.com/repos/E3SM-Project/scream/issues/27/comments","statuses_url":"https://api.github.com/repos/E3SM-Project/scream/statuses/c53893c5f288e4ddf634bbcea9987cc2e75ceeec","head":{"label":"E3SM-Project:unit_test_macro","ref":"unit_test_macro","sha":"c53893c5f288e4ddf634bbcea9987cc2e75ceeec","user":{"login":"E3SM-Project","id":7558558,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NTg1NTg=","avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":138931834,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5MzE4MzQ=","name":"scream","full_name":"E3SM-Project/scream","private":false,"owner":{"login":"E3SM-Project","id":7558558,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NTg1NTg=","avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/E3SM-Project/scream","description":null,"fork":false,"url":"https://api.github.com/repos/E3SM-Project/scream","forks_url":"https://api.github.com/repos/E3SM-Project/scream/forks","keys_url":"https://api.github.com/repos/E3SM-Project/scream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/E3SM-Project/scream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/E3SM-Project/scream/teams","hooks_url":"https://api.github.com/repos/E3SM-Project/scream/hooks","issue_events_url":"https://api.github.com/repos/E3SM-Project/scream/issues/events{/number}","events_url":"https://api.github.com/repos/E3SM-Project/scream/events","assignees_url":"https://api.github.com/repos/E3SM-Project/scream/assignees{/user}","branches_url":"https://api.github.com/repos/E3SM-Project/scream/branches{/branch}","tags_url":"https://api.github.com/repos/E3SM-Project/scream/tags","blobs_url":"https://api.github.com/repos/E3SM-Project/scream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/E3SM-Project/scream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/E3SM-Project/scream/git/refs{/sha}","trees_url":"https://api.github.com/repos/E3SM-Project/scream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/E3SM-Project/scream/statuses/{sha}","languages_url":"https://api.github.com/repos/E3SM-Project/scream/languages","stargazers_url":"https://api.github.com/repos/E3SM-Project/scream/stargazers","contributors_url":"https://api.github.com/repos/E3SM-Project/scream/contributors","subscribers_url":"https://api.github.com/repos/E3SM-Project/scream/subscribers","subscription_url":"https://api.github.com/repos/E3SM-Project/scream/subscription","commits_url":"https://api.github.com/repos/E3SM-Project/scream/commits{/sha}","git_commits_url":"https://api.github.com/repos/E3SM-Project/scream/git/commits{/sha}","comments_url":"https://api.github.com/repos/E3SM-Project/scream/comments{/number}","issue_comment_url":"https://api.github.com/repos/E3SM-Project/scream/issues/comments{/number}","contents_url":"https://api.github.com/repos/E3SM-Project/scream/contents/{+path}","compare_url":"https://api.github.com/repos/E3SM-Project/scream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/E3SM-Project/scream/merges","archive_url":"https://api.github.com/repos/E3SM-Project/scream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/E3SM-Project/scream/downloads","issues_url":"https://api.github.com/repos/E3SM-Project/scream/issues{/number}","pulls_url":"https://api.github.com/repos/E3SM-Project/scream/pulls{/number}","milestones_url":"https://api.github.com/repos/E3SM-Project/scream/milestones{/number}","notifications_url":"https://api.github.com/repos/E3SM-Project/scream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/E3SM-Project/scream/labels{/name}","releases_url":"https://api.github.com/repos/E3SM-Project/scream/releases{/id}","deployments_url":"https://api.github.com/repos/E3SM-Project/scream/deployments","created_at":"2018-06-27T20:52:18Z","updated_at":"2018-09-24T21:15:39Z","pushed_at":"2018-09-25T18:45:25Z","git_url":"git://github.com/E3SM-Project/scream.git","ssh_url":"git@github.com:E3SM-Project/scream.git","clone_url":"https://github.com/E3SM-Project/scream.git","svn_url":"https://github.com/E3SM-Project/scream","homepage":null,"size":79891,"stargazers_count":0,"watchers_count":0,"language":"Fortran","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"E3SM-Project:master","ref":"master","sha":"6ed8c5aa96f6f0abc0d569394459901a78d26d38","user":{"login":"E3SM-Project","id":7558558,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NTg1NTg=","avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":138931834,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5MzE4MzQ=","name":"scream","full_name":"E3SM-Project/scream","private":false,"owner":{"login":"E3SM-Project","id":7558558,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NTg1NTg=","avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/E3SM-Project/scream","description":null,"fork":false,"url":"https://api.github.com/repos/E3SM-Project/scream","forks_url":"https://api.github.com/repos/E3SM-Project/scream/forks","keys_url":"https://api.github.com/repos/E3SM-Project/scream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/E3SM-Project/scream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/E3SM-Project/scream/teams","hooks_url":"https://api.github.com/repos/E3SM-Project/scream/hooks","issue_events_url":"https://api.github.com/repos/E3SM-Project/scream/issues/events{/number}","events_url":"https://api.github.com/repos/E3SM-Project/scream/events","assignees_url":"https://api.github.com/repos/E3SM-Project/scream/assignees{/user}","branches_url":"https://api.github.com/repos/E3SM-Project/scream/branches{/branch}","tags_url":"https://api.github.com/repos/E3SM-Project/scream/tags","blobs_url":"https://api.github.com/repos/E3SM-Project/scream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/E3SM-Project/scream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/E3SM-Project/scream/git/refs{/sha}","trees_url":"https://api.github.com/repos/E3SM-Project/scream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/E3SM-Project/scream/statuses/{sha}","languages_url":"https://api.github.com/repos/E3SM-Project/scream/languages","stargazers_url":"https://api.github.com/repos/E3SM-Project/scream/stargazers","contributors_url":"https://api.github.com/repos/E3SM-Project/scream/contributors","subscribers_url":"https://api.github.com/repos/E3SM-Project/scream/subscribers","subscription_url":"https://api.github.com/repos/E3SM-Project/scream/subscription","commits_url":"https://api.github.com/repos/E3SM-Project/scream/commits{/sha}","git_commits_url":"https://api.github.com/repos/E3SM-Project/scream/git/commits{/sha}","comments_url":"https://api.github.com/repos/E3SM-Project/scream/comments{/number}","issue_comment_url":"https://api.github.com/repos/E3SM-Project/scream/issues/comments{/number}","contents_url":"https://api.github.com/repos/E3SM-Project/scream/contents/{+path}","compare_url":"https://api.github.com/repos/E3SM-Project/scream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/E3SM-Project/scream/merges","archive_url":"https://api.github.com/repos/E3SM-Project/scream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/E3SM-Project/scream/downloads","issues_url":"https://api.github.com/repos/E3SM-Project/scream/issues{/number}","pulls_url":"https://api.github.com/repos/E3SM-Project/scream/pulls{/number}","milestones_url":"https://api.github.com/repos/E3SM-Project/scream/milestones{/number}","notifications_url":"https://api.github.com/repos/E3SM-Project/scream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/E3SM-Project/scream/labels{/name}","releases_url":"https://api.github.com/repos/E3SM-Project/scream/releases{/id}","deployments_url":"https://api.github.com/repos/E3SM-Project/scream/deployments","created_at":"2018-06-27T20:52:18Z","updated_at":"2018-09-24T21:15:39Z","pushed_at":"2018-09-25T18:45:25Z","git_url":"git://github.com/E3SM-Project/scream.git","ssh_url":"git@github.com:E3SM-Project/scream.git","clone_url":"https://github.com/E3SM-Project/scream.git","svn_url":"https://github.com/E3SM-Project/scream","homepage":null,"size":79891,"stargazers_count":0,"watchers_count":0,"language":"Fortran","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/E3SM-Project/scream/pulls/27"},"html":{"href":"https://github.com/E3SM-Project/scream/pull/27"},"issue":{"href":"https://api.github.com/repos/E3SM-Project/scream/issues/27"},"comments":{"href":"https://api.github.com/repos/E3SM-Project/scream/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/E3SM-Project/scream/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/E3SM-Project/scream/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/E3SM-Project/scream/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/E3SM-Project/scream/statuses/c53893c5f288e4ddf634bbcea9987cc2e75ceeec"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":42,"deletions":16,"changed_files":2}}
{"actor":{"display_login":"bartgol"}}