Commit 9dcf8c15 authored by norvell's avatar norvell
Browse files

Test lcov_cobertura

parent 1e8e8990
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ stages:
.test-job-linux:
  tags:
    - ivas-linux
    - test-ericsson-linux-runner

.build-job-linux:
  stage: build
@@ -650,12 +651,17 @@ coverage-test-on-main-scheduled:
    - ./scripts/ivas_pytests/self_test_b.py --create_only --numprocesses 1 --encref IVAS_cod --decref IVAS_dec --encdut IVAS_cod --decdut IVAS_dec
    - lcov -c -d obj -o coverage.info
    - genhtml coverage.info -o coverage
    - lcov_cobertura.py coverage.info -b obj -o coverage.xml
  artifacts:
    name: "main-coverage-sha-$CI_COMMIT_SHORT_SHA"
    when: always
    paths:
      - coverage.info
      - coverage
  reports:
    coverage_report:
      coverage_format: cobertura
      path: coverage.xml

# ---------------------------------------------------------------
# Other jobs