- name: Generate XCUITest JUnit report if: always() run: | brew install xcresultparser mkdir -p TestReports xcresultparser -o junit TestResults/MyAppUITests.xcresult > TestReports/MyAppUITests.xml xmllint --noout TestReports/MyAppUITests.xml - name: Upload XCUITest JUnit report if: always() uses: actions/upload-artifact@v7 with: name: xcuitest-junit-report path: TestReports/MyAppUITests.xml if-no-files-found: error