refactor and add tests

This commit is contained in:
Pritimay Sarkar
2024-01-26 11:20:13 +05:30
parent 3c4a1fa56b
commit 63331c2253
5 changed files with 121 additions and 28 deletions

View File

@@ -94,10 +94,8 @@ publishTestResults:
stage: test
script:
- echo "Publishing JUnit test results"
- mkdir -p junit-reports
- find app/build/test-results -type f -name "testDebugUnitTest*.xml" -exec cp {} junit-reports/ \;
needs: [debugTests]
artifacts:
when: always
reports:
junit: junit-reports/*.xml
junit: app/build/test-results/testDebugUnitTest/*.xml