kiwix / kiwix-apple

Kiwix for offline access on iOS and macOS
https://apple.kiwix.org
GNU Lesser General Public License v3.0
438 stars 70 forks source link

CI make sure we run Unit Tests step #671

Closed BPerlakiH closed 3 months ago

BPerlakiH commented 3 months ago

fixes #669

BPerlakiH commented 3 months ago

Test run OK, see here: https://github.com/kiwix/apple/actions/runs/8031581046/job/21940048205

2024-02-24 15:47:42.759 xcodebuild[11285:54834] [MT] IDETestOperationsObserverDebug: 5.961 sec, +5.961 sec -- end
Test session results, code coverage, and logs:
    /Users/runner/Library/Developer/Xcode/DerivedData/Kiwix-egxgvqchbeuqdtfogfzzmwyifluf/Logs/Test/Test-Kiwix-2024.02.24_15-46-37-+0000.xcresult
** TEST SUCCEEDED **
Testing started
BPerlakiH commented 3 months ago

Tested that it can actually fail as well, as of:

Failing tests:
    LibraryRefreshViewModelTest.testNewZimFileAndProperties()
Test session results, code coverage, and logs:
    OPDSParserTests.test()
** TEST FAILED **
    /Users/runner/Library/Developer/Xcode/DerivedData/Kiwix-egxgvqchbeuqdtfogfzzmwyifluf/Logs/Test/Test-Kiwix-2024.02.24_15-58-12-+0000.xcresult
Testing started
Error: Process completed with exit code 65.
BPerlakiH commented 3 months ago

Slight modifications added to make sure it's actually picks up the iOS simulator. It turned out without a 'name' it's not capable to launch the simulator...