gitlab-ci-local icon indicating copy to clipboard operation
gitlab-ci-local copied to clipboard

coverage_format validation error

Open dzwicker opened this issue 5 months ago • 0 comments

Minimal .gitlab-ci.yml illustrating the issue

---
coverage:report:
  artifacts:
    reports:
      coverage_report:
        coverage_format: jacoco
        path: build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml

Observed behavior

gitlab-ci-local --list
Invalid .gitlab-ci.yml configuration!
	• 'coverage_format' property must be one of [cobertura] (found jacoco) at kotlin:test:coverage:report.artifacts.reports.coverage_report.coverage_format

Expected behavior No error, this configuration is valid according the official documentation (new in current release) artifacts:reports:coverage_report

Host information macOS gitlab-ci-local 4.53.0

dzwicker avatar Aug 29 '24 15:08 dzwicker