python-coveralls icon indicating copy to clipboard operation
python-coveralls copied to clipboard

Add command line option to specify service_job_id

Open rhyolight opened this issue 10 years ago • 2 comments

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.

rhyolight avatar Jun 17 '14 04:06 rhyolight

This looks like it would be pretty easy to do. I think I'll submit a PR for it.

rhyolight avatar Jun 17 '14 04:06 rhyolight

Good point. If you need any help I'm here :)

z4r avatar Jun 19 '14 12:06 z4r