Skip to content

[BUG] RegEx not recognised #436

Closed
Closed
@patvdleer

Description

@patvdleer

Using the gitlab-ci validation my RegEx on coverage isn't recognised as such while it does work.

Schema validation errors were encountered.
  .gitlab-ci.yml::$.unittests:python-3.12.coverage: '/(?i)total.*? (100(?:\\.0+)?\\%|[1-9]?\\d(?:\\.\\d+)?\\%)$/' is not a 'regex'
unittests:python-3.12:
  <<: *unittests
  image: python:3.12
  coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
  artifacts:
    reports:
      coverage_report:
        coverage_format: cobertura
        path: coverage.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    regular-expressionsRelated to the regex engines and modes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions