Skip to content

CLI options are deprecated. Please update README and offer alternatives if they exist. #151

Open
@smcclure15

Description

@smcclure15
$ curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz -C .
$ ./coveralls --help
Coveralls Coverage Reporter v0.6.14
Usage: coveralls [command] [options]
    report                           Report coverage
    done                             Call a webhook after all parallel reports
    version                          Show version
    --debug                          Debug mode: data being sent to Coveralls will be printed to console
    --dry-run                        Dry run (no request sent)
    --no-fail                        Always exit with status 0
    -n, --no-logo                    Do not show Coveralls logo in logs
    -q, --quiet                      Suppress all output
    -h, --help                       Show this help
    -rTOKEN, --repo-token=TOKEN      Sets coveralls repo token, overrides settings in yaml or environment variable
    -cPATH, --config-path=PATH       Set the coveralls yaml config file location, will default to check '.coveralls.yml'
    -bPATH, --base-path=PATH         DEPRECATED: Path to the root folder of the project the coverage was collected in
    -fFILENAME, --file=FILENAME      DEPRECATED: Coverage artifact file to be reported, e.g. coverage/lcov.info (detected by default)
    -jFLAG, --job-flag=FLAG          DEPRECATED: Coverage job flag name, e.g. Unit Tests
    -p, --parallel                   DEPRECATED: Set the parallel flag. Requires webhook for completion (coveralls done)
    -d, --done                       DEPRECATED: Call webhook after all parallel jobs (-p) done
    --format=FORMAT                  DEPRECATED: Force coverage file format, supported formats: clover, cobertura, jacoco, golang, python, coveralls, lcov, simplecov, gcov
    --allow-empty                    DEPRECATED: Allow empty coverage results and exit 0
    --compare-ref=REF                DEPRECATED: Git branch name to compare the coverage with
    --compare-sha=SHA                DEPRECATED: Git commit SHA to compare the coverage with
    --carryforward=FLAGS             DEPRECATED: Comma-separated list of parallel job flags
    --service-name=NAME              DEPRECATED: Build service name override
    --service-job-id=ID              DEPRECATED: Build job override
    --service-build-url=URL          DEPRECATED: Build URL override
    --service-job-url=URL            DEPRECATED: Build job URL override
    --service-branch=NAME            DEPRECATED: Branch name override
    --service-pull-request=NUMBER    DEPRECATED: PR number override
    -v, --version                    DEPRECATED: Show version

I was anticipating using things like the job id and PR numbers, but I found those to be deprecated. Are there env vars to leverage instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions