From 59cd9a810893eb619b7da0a3d8b2738c6cbdb961 Mon Sep 17 00:00:00 2001 From: Jonathan Klee Date: Mon, 19 Jan 2026 10:37:27 +0100 Subject: [PATCH] chore: only execute release tests --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dba8308fb..9bc705eaa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,20 +45,20 @@ test: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' when: always script: - - ./gradlew test jacocoDebugReport -PtestAccountName="$testAccountName" -PtestAccountPwd="$testAccountPwd" -PtestServerUrl="$testServerUrl" - - python3 scripts/print_instruction_coverage.py app/build/reports/jacoco/jacocoDebugReport/jacocoDebugReport.xml + - ./gradlew testReleaseUnitTest jacocoReleaseReport -PtestAccountName="$testAccountName" -PtestAccountPwd="$testAccountPwd" -PtestServerUrl="$testServerUrl" + - python3 scripts/print_instruction_coverage.py app/build/reports/jacoco/jacocoReleaseReport/jacocoReleaseReport.xml coverage: '/Total.*?([0-9]{1,3})%/' artifacts: when: always paths: - app/build/test-results/*/TEST-*.xml - app/build/reports/tests/* - - app/build/reports/jacoco/jacocoDebugReport/jacocoDebugReport.xml + - app/build/reports/jacoco/jacocoReleaseReport/jacocoReleaseReport.xml reports: junit: app/build/test-results/*/TEST-*.xml coverage_report: coverage_format: jacoco - path: app/build/reports/jacoco/jacocoDebugReport/jacocoDebugReport.xml + path: app/build/reports/jacoco/jacocoReleaseReport/jacocoReleaseReport.xml # Default lint configuration for debug builds # Manual as we don't want to run them generally for debug builds -- GitLab