add tests reports job

This commit is contained in:
Pritimay Sarkar
2024-01-26 07:59:22 +05:30
parent 06d62506a9
commit 1871f8c77a

View File

@@ -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