Closed kirylkaveryn closed 2 weeks ago
Thanks!
- Does it make sense to store test logs as artifacts?
Test session results, code coverage, and logs: /Users/runner/Library/Developer/Xcode/DerivedData/omim-flvqchzzlvipeddxgcerkpudxndo/Logs/Test/Test-OMaps-2024.04.15_10-09-27-+0000.xcresult
- Is there a way to hide XCode compile output and only show it when compilation failed? It takes too much space in build log and it's hard to find any warnings or errors.
@biodranik I update the CI workflow and as result:
.xcresult
artifact will be created and attached to the result.
If tests doesn't fail this step will be skipped and the artifact will not be adeed.
Failed test run:
https://github.com/kirylkaveryn/organicmaps/actions/runs/8720798226Not failed test run (artifact step is skipped): https://github.com/kirylkaveryn/organicmaps/actions/runs/8721380477/job/23924978475
This PR Implements the iOS test running for the
ios-check
workflow during the debug job.Tested on the fork. Test running adds ~10 minutes to the workflow. This is happens because the testing process requires additional steps rather than just compiling the project: