diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8aab42..12eed4c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,8 +94,10 @@ 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: app/build/test-results/testDebugUnitTest/*.xml + junit: junit-reports/*.xml \ No newline at end of file