Move PreviewTests into their own scheme. (#2492)

* Use xcresultparser for coverage as there are 2 schemes now.
This commit is contained in:
Doug
2024-02-22 15:13:52 +00:00
committed by GitHub
parent 661a3538b4
commit cdee371443
271 changed files with 367 additions and 40 deletions

View File

@@ -59,6 +59,11 @@ jobs:
retention-days: 1
if-no-files-found: ignore
- name: Collect coverage
run: |
xcresultparser -q -o cobertura -t ElementX -p $(pwd) fastlane/test_output/UnitTests.xcresult > fastlane/test_output/unittests-cobertura.xml
xcresultparser -q -o cobertura -t ElementX -p $(pwd) fastlane/test_output/PreviewTests.xcresult > fastlane/test_output/previewtests-cobertura.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with: