Skip to content

Running locally, flags give no output #501

Closed
@jmauerhan

Description

@jmauerhan

I'm trying to debug why code coverage isn't being reported to Code Climate, and I saw no output from the commands in CI. I tried testing locally and I'm still getting no output from the reporter:

curl -L -O https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter

Running any commands with flags to get version, help or debug provides no output - for example:

jessicamauerhan$ chmod +x ./cc-test-reporter
jessicamauerhan$ ./cc-test-reporter -h
jessicamauerhan$ ./cc-test-reporter -v
jessicamauerhan$ ./cc-test-reporter --debug
jessicamauerhan$ ./cc-test-reporter before-build -v
jessicamauerhan$ ./cc-test-reporter before-build -h
jessicamauerhan$ ./cc-test-reporter before-build --debug

I tried the --debug flag based on this documentation: https://docs.codeclimate.com/docs/test-coverage-troubleshooting-tips#self-help-from-technical-documentation

and the other flags from this: https://github.com/codeclimate/test-reporter/blob/1be9d22a61d05cf3c4b6d3306bc28d271f3a430d/man/cc-test-reporter.1.md

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