From 55e7e798fa17662b96ff25fdc4ac557525b34940 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 14 Aug 2024 00:02:59 +0200 Subject: [PATCH] ci: yoloattempt to combine the coverage reports --- .gitlab/ci/test.gitlab-ci.yml | 51 ++++++++++++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index 745105796..f0bca44b5 100644 --- a/.gitlab/ci/test.gitlab-ci.yml +++ b/.gitlab/ci/test.gitlab-ci.yml @@ -9,10 +9,6 @@ COVERAGE_FILE: ".coverage_$CI_JOB_NAME" before_script: - *install_debs - cache: - paths: - - src/tests/apps - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" needs: - job: build-yunohost artifacts: true @@ -125,3 +121,50 @@ test-sso-and-portalapi: extends: .test-stage script: - python3 -m pytest src/tests/test_sso_and_portalapi.py + +######################################## +# COVERAGE REPORT +######################################## + +coverage: + stage: test + image: "core-tests" + needs: + # Yeah ... gotta list all of those individually ... https://gitlab.com/gitlab-org/gitlab/-/issues/332326 + - job: test-domains + artifacts: true + - job: test-dns + artifacts: true + - job: test-apps + artifacts: true + - job: test-appscatalog + artifacts: true + - job: test-appurl + artifacts: true + - job: test-questions + artifacts: true + - job: test-app-config + artifacts: true + - job: test-app-resources + artifacts: true + - job: test-changeurl + artifacts: true + - job: test-backuprestore + artifacts: true + - job: test-permission + artifacts: true + - job: test-settings + artifacts: true + - job: test-user-group + artifacts: true + - job: test-regenconf + artifacts: true + - job: test-service + artifacts: true + - job: test-ldapauth + artifacts: true + - job: test-sso-and-portalapi + artifacts: true + script: + - coverage combine ./.coverage_* + - coverage report