Skip to content

Add command-line opts to enable/disable CI mode #13769

@macdjord

Description

@macdjord

Currently, PyTest detects when it is running in a CI pipeline by checking the environment variables $CI and $BUILD_NUMBER, and this is the only way CI mode can be controlled.

There should be command-line options to enable/disable CI mode, which supersede auto-detection based on env variables.

This ticket is split off from #13766 so that that ticket can be used to cover improvements to the env-based autodetection, while this one deals with the proposal to add command-line overrides for it.

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