Loading .gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading