From 1871f8c77adadef07093b8b3825dc1fb38efe17a Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Fri, 26 Jan 2024 07:59:22 +0530 Subject: [PATCH] add tests reports job --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d1232c..d98348a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,3 +86,17 @@ debugTests: stage: test script: - ./gradlew -Pci --console=plain :app:testDebug + artifacts: + paths: + - app/build/test-results/ + +publishTestResults: + stage: test + script: + - echo "Publishing JUnit test results" + dependencies: + - debugTests + artifacts: + when: always + reports: + junit: app/build/test-results/testDebug/*.xml