{"action":"created","issue":{"url":"https://api.github.com/repos/codeclimate/ruby-test-reporter/issues/183","repository_url":"https://api.github.com/repos/codeclimate/ruby-test-reporter","labels_url":"https://api.github.com/repos/codeclimate/ruby-test-reporter/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/codeclimate/ruby-test-reporter/issues/183/comments","events_url":"https://api.github.com/repos/codeclimate/ruby-test-reporter/issues/183/events","html_url":"https://github.com/codeclimate/ruby-test-reporter/issues/183","id":217061365,"number":183,"title":"Heroku CI support","user":{"login":"zharikovpro","id":2053886,"avatar_url":"https://avatars0.githubusercontent.com/u/2053886?v=4","gravatar_id":"","url":"https://api.github.com/users/zharikovpro","html_url":"https://github.com/zharikovpro","followers_url":"https://api.github.com/users/zharikovpro/followers","following_url":"https://api.github.com/users/zharikovpro/following{/other_user}","gists_url":"https://api.github.com/users/zharikovpro/gists{/gist_id}","starred_url":"https://api.github.com/users/zharikovpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zharikovpro/subscriptions","organizations_url":"https://api.github.com/users/zharikovpro/orgs","repos_url":"https://api.github.com/users/zharikovpro/repos","events_url":"https://api.github.com/users/zharikovpro/events{/privacy}","received_events_url":"https://api.github.com/users/zharikovpro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":null,"comments":10,"created_at":"2017-03-26T15:54:28Z","updated_at":"2017-09-25T14:52:02Z","closed_at":null,"author_association":"NONE","body":"When I run command locally, it works fine. It works fine on CodeShip, too. That same command fails on Heroku, though.\r\n\r\n```\r\nbundle exec rspec && bundle exec codeclimate-test-reporter\r\n\r\n70 examples, 0 failures\r\nRandomized with seed 16670\r\nCoverage report generated for RSpec to /app/coverage. 3377 / 7074 LOC (47.74%) covered.\r\nI, [2017-03-26T15:45:30.729786 #1192]  INFO -- : Reporting coverage data to Code Climate.\r\nfatal: Not a git repository: './.git'\r\nfatal: Not a git repository: './.git'\r\nfatal: Not a git repository: './.git'\r\nbundler: failed to load command: codeclimate-test-reporter (/app/vendor/bundle/ruby/2.3.0/bin/codeclimate-test-reporter)\r\nCodeClimate::TestReporter::InvalidPayload: A git commit timestamp was not found in the test report payload\r\n  /app/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.3/lib/code_climate/test_reporter/payload_validator.rb:16:in `validate'\r\n  /app/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.3/lib/code_climate/test_reporter/payload_validator.rb:11:in `validate'\r\n  /app/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.3/lib/code_climate/test_reporter/formatter.rb:27:in `format'\r\n  /app/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.3/lib/code_climate/test_reporter.rb:19:in `run'\r\n  /app/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.3/bin/codeclimate-test-reporter:16:in `<top (required)>'\r\n  /app/vendor/bundle/ruby/2.3.0/bin/codeclimate-test-reporter:22:in `load'\r\n  /app/vendor/bundle/ruby/2.3.0/bin/codeclimate-test-reporter:22:in `<top (required)>'\r\n-----> test command `bundle exec rake factory_girl:lint && bundle exec rspec && bundle exec codeclimate-test-reporter` failed with exit status 1```\r\n\r\nAny clues on how to fix this?"},"comment":{"url":"https://api.github.com/repos/codeclimate/ruby-test-reporter/issues/comments/331906567","html_url":"https://github.com/codeclimate/ruby-test-reporter/issues/183#issuecomment-331906567","issue_url":"https://api.github.com/repos/codeclimate/ruby-test-reporter/issues/183","id":331906567,"user":{"login":"joshwlewis","id":917672,"avatar_url":"https://avatars1.githubusercontent.com/u/917672?v=4","gravatar_id":"","url":"https://api.github.com/users/joshwlewis","html_url":"https://github.com/joshwlewis","followers_url":"https://api.github.com/users/joshwlewis/followers","following_url":"https://api.github.com/users/joshwlewis/following{/other_user}","gists_url":"https://api.github.com/users/joshwlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/joshwlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshwlewis/subscriptions","organizations_url":"https://api.github.com/users/joshwlewis/orgs","repos_url":"https://api.github.com/users/joshwlewis/repos","events_url":"https://api.github.com/users/joshwlewis/events{/privacy}","received_events_url":"https://api.github.com/users/joshwlewis/received_events","type":"User","site_admin":false},"created_at":"2017-09-25T14:52:02Z","updated_at":"2017-09-25T14:52:02Z","author_association":"NONE","body":"Hey y'all -- Sorry for the delay here. @appleton has been on an extended PTO, so he's not around to respond. However, we did add `HEROKU_TEST_RUN_COMMIT_VERSION` (which reports recently in response to this (and similar issues).\r\n\r\nI'll bring up the other suggestions (`CI_NAME`, `HEROKU_TEST_RUN_TIMESTAMP`, and `HEROKU_TEST_RUN_COMMITTED_AT_TIMESTAMP`) with the team.\r\n\r\n"}}
{"actor":{"display_login":"joshwlewis"}}