{"action":"created","issue":{"url":"https://api.github.com/repos/codeclimate/test-reporter/issues/226","repository_url":"https://api.github.com/repos/codeclimate/test-reporter","labels_url":"https://api.github.com/repos/codeclimate/test-reporter/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/codeclimate/test-reporter/issues/226/comments","events_url":"https://api.github.com/repos/codeclimate/test-reporter/issues/226/events","html_url":"https://github.com/codeclimate/test-reporter/issues/226","id":258981443,"number":226,"title":"Heroku CI rails app test coverage","user":{"login":"a-b","id":585662,"avatar_url":"https://avatars0.githubusercontent.com/u/585662?v=4","gravatar_id":"","url":"https://api.github.com/users/a-b","html_url":"https://github.com/a-b","followers_url":"https://api.github.com/users/a-b/followers","following_url":"https://api.github.com/users/a-b/following{/other_user}","gists_url":"https://api.github.com/users/a-b/gists{/gist_id}","starred_url":"https://api.github.com/users/a-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-b/subscriptions","organizations_url":"https://api.github.com/users/a-b/orgs","repos_url":"https://api.github.com/users/a-b/repos","events_url":"https://api.github.com/users/a-b/events{/privacy}","received_events_url":"https://api.github.com/users/a-b/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"toddmazierski","id":544541,"avatar_url":"https://avatars0.githubusercontent.com/u/544541?v=4","gravatar_id":"","url":"https://api.github.com/users/toddmazierski","html_url":"https://github.com/toddmazierski","followers_url":"https://api.github.com/users/toddmazierski/followers","following_url":"https://api.github.com/users/toddmazierski/following{/other_user}","gists_url":"https://api.github.com/users/toddmazierski/gists{/gist_id}","starred_url":"https://api.github.com/users/toddmazierski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddmazierski/subscriptions","organizations_url":"https://api.github.com/users/toddmazierski/orgs","repos_url":"https://api.github.com/users/toddmazierski/repos","events_url":"https://api.github.com/users/toddmazierski/events{/privacy}","received_events_url":"https://api.github.com/users/toddmazierski/received_events","type":"User","site_admin":false},"assignees":[{"login":"toddmazierski","id":544541,"avatar_url":"https://avatars0.githubusercontent.com/u/544541?v=4","gravatar_id":"","url":"https://api.github.com/users/toddmazierski","html_url":"https://github.com/toddmazierski","followers_url":"https://api.github.com/users/toddmazierski/followers","following_url":"https://api.github.com/users/toddmazierski/following{/other_user}","gists_url":"https://api.github.com/users/toddmazierski/gists{/gist_id}","starred_url":"https://api.github.com/users/toddmazierski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddmazierski/subscriptions","organizations_url":"https://api.github.com/users/toddmazierski/orgs","repos_url":"https://api.github.com/users/toddmazierski/repos","events_url":"https://api.github.com/users/toddmazierski/events{/privacy}","received_events_url":"https://api.github.com/users/toddmazierski/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-09-19T22:16:57Z","updated_at":"2017-11-20T20:19:25Z","closed_at":null,"author_association":"NONE","body":"Please include Heroku CI specific manual, how to run test coverage for rails app.\r\nInspired by https://github.com/codeclimate/ruby-test-reporter/issues/183"},"comment":{"url":"https://api.github.com/repos/codeclimate/test-reporter/issues/comments/345819012","html_url":"https://github.com/codeclimate/test-reporter/issues/226#issuecomment-345819012","issue_url":"https://api.github.com/repos/codeclimate/test-reporter/issues/226","id":345819012,"user":{"login":"dblandin","id":123595,"avatar_url":"https://avatars3.githubusercontent.com/u/123595?v=4","gravatar_id":"","url":"https://api.github.com/users/dblandin","html_url":"https://github.com/dblandin","followers_url":"https://api.github.com/users/dblandin/followers","following_url":"https://api.github.com/users/dblandin/following{/other_user}","gists_url":"https://api.github.com/users/dblandin/gists{/gist_id}","starred_url":"https://api.github.com/users/dblandin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblandin/subscriptions","organizations_url":"https://api.github.com/users/dblandin/orgs","repos_url":"https://api.github.com/users/dblandin/repos","events_url":"https://api.github.com/users/dblandin/events{/privacy}","received_events_url":"https://api.github.com/users/dblandin/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T20:19:25Z","updated_at":"2017-11-20T20:19:25Z","author_association":"MEMBER","body":"Hey @dja,\r\n\r\nIt looks like your subshell value isn't excuting correctly. I think that's because you're wrapping the subshell command in single quotes which doesn't trigger interpolation.\r\n\r\nI'm also wondering if you're `GIT_BRANCH` and `GIT_COMMIT_SHA` values are correct as they're missing the leading `$`.\r\n\r\nCould you try the following?\r\n\r\n```shell\r\nexport CI_BUILD_ID=\"$HEROKU_TEST_RUN_ID\"\r\nexport CI_NAME=\"heroku\"\r\nexport GIT_BRANCH=\"$HEROKU_TEST_RUN_BRANCH\"\r\nexport GIT_COMMIT_SHA=\"$HEROKU_TEST_RUN_COMMIT_VERSION\"\r\nexport GIT_COMMITTED_AT=\"$(date +%s)\"\r\n```"}}
{"actor":{"display_login":"dblandin"}}