Skip to content

Colors="always" is always in the command arguments and when overwritten to never generates a warning and exit code 1 #72

Open
@MatthewYKnowles

Description

@MatthewYKnowles

I am trying to output my coverage results without colors so they can be easy to add as a comment to PR without the special characters that come from adding color. When I pass --colors=never to the args it does work because its appended to the end of the command arguments and the earlier colors="always" is overwritten. The problem is there is a warning that you shouldn't do the same command line argument twice and the step fails with an exit code of 1.

There was 1 PHPUnit test runner warning:

  1. Option --colors cannot be used more than once

Would be possible to add Colors as a configurable value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions