codeclimate / python-test-reporter

DEPRECATED Uploads Python test coverage data to Code Climate
https://codeclimate.com
Other
19 stars 11 forks source link

Allow running without git #46

Closed andrewmichaelsmith closed 7 years ago

andrewmichaelsmith commented 7 years ago

We run our tests inside a docker container, the image of which we want to keep as light as possible.

From what I can see the current python plugin assumes git is available, in our case it is not.

Would it be possible to skip the calls to git by providing a GIT_SHA environment varibale?

dblandin commented 7 years ago

Hi @andrewmichaelsmith,

I'd recommend checking out our new test reporter: https://github.com/codeclimate/test-reporter

It provides better support for providing commit information via environment variables.

dblandin commented 7 years ago

Going to go ahead and close this issue. We have much better support for git-related environment variables in our new test reporter. I definitely recommend checking it out!