python-coveralls
python-coveralls copied to clipboard
Add command line option to specify service_job_id
I have a build job that processed both unit and integration tests, so I'd like to submit more than one coveralls report within the job. Currently, the latest publication overrides the previous on that ran in the same Travis-CI job.
I'd like a way to specify the complete job id, or even a way to append a string to whatever job id will be used. For example, for travis build 1234, the job id would be "1234.1", but I want "1234.1_unit" and "1234.1_integration".
So either:
coveralls --job_id="1234.1_unit"
Or:
coveralls --job_type="unit"
Which produced a service_job_id
of "1234.1_unit" in it's post to coveralls.
This looks like it would be pretty easy to do. I think I'll submit a PR for it.
Good point. If you need any help I'm here :)