Skip to content

[feat]: add gitlab-ci.yaml coverage #53

Description

@ioggstream

I expect

  • gitlab-ci.yaml to highlight code coverage

Instead

  • no code coverage

Notes

see https://docs.gitlab.com/ee/ci/testing/test_coverage_visualization/

job:
 ...
# From: https://docs.gitlab.com/ee/ci/testing/code_coverage.html#test-coverage-examples
  coverage: /TOTAL.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/

  # From: https://docs.gitlab.com/ee/ci/testing/test_coverage_visualization/cobertura.html#python-example
  artifacts:
    reports:
      coverage_report:
        coverage_format: cobertura
        path: coverage.xml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions