Skip to content

Question: Skipping continuous integration #259

@FrederickEngelhardt

Description

@FrederickEngelhardt

How does solidarity work for detecting that it is currently running on continuous integration?

Do I need to pass a flag? Example npx solidarity --ci

Also the question Should this rule be skipped on a Continuous Integration server? seems to output a "ci": true when selecting to skip the rule, is this intended or does "ci": true allow the rule to run on ci?

Screen Shot 2021-01-19 at 2 38 18 PM

Example

{
  "requirements": [
    {
      "rule": "cli",
      "binary": "",
      "platform": [
        "macos",
        "linux"
      ],
      "ci": true
    }
  ]
}

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