diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbd61ad2dc2559f9e24f43b01ff8b6a52e12ccdc..7f9049507e8e5661282016bf80319ef37b6f7173 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ variables: OUT_FORMATS_CHANNEL_BASED: "stereo mono 5_1 5_1_2 5_1_4 7_1 7_1_4" OUT_FORMATS_SCENE_BASED: "FOA HOA2 HOA3" OUT_FORMATS_BINAURAL: "BINAURAL BINAURAL_ROOM" + COVERAGE_TEST: "1" # This sets when pipelines are created. Jobs have more specific rules to restrict them. @@ -81,6 +82,7 @@ stages: .test-job-linux: tags: - ivas-linux + - test-ericsson-linux-runner .build-job-linux: stage: build @@ -635,7 +637,7 @@ sanitizer-test-planarsba: coverage-test-on-main-scheduled: extends: - .test-job-linux-needs-testv-dir - - .rules-main-scheduled + - .rules-merge-request tags: - coverage-test stage: test @@ -650,12 +652,16 @@ 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 - artifacts: + - 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 + - coverage.xml + + # --------------------------------------------------------------- # Other jobs