mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Various CI fixes (#161)
* Update homebrew dependencies like on the other workflows. Fixes problems caused by buggy swiftformat prebundled on the github actions macos runner * Removed UI tests from PR tests and running them on a schedule instead. Hopefuly fixed code coverage. * Added back simulator versions as they need to match UI test snapshots * Allow UI tests to run on this PR * Added back skipped UI tests * Fix danger sometimes not working on forks and disable integration tests on them
This commit is contained in:
+13
-7
@@ -72,19 +72,25 @@ lane :adhoc do
|
||||
)
|
||||
end
|
||||
|
||||
lane :tests do
|
||||
lane :unit_tests do
|
||||
run_tests(
|
||||
project: "ElementX.xcodeproj",
|
||||
scheme: "UnitTests"
|
||||
)
|
||||
|
||||
slather(
|
||||
cobertura_xml: true,
|
||||
output_directory: "./fastlane/test_output",
|
||||
proj: "ElementX.xcodeproj",
|
||||
scheme: "UnitTests",
|
||||
)
|
||||
end
|
||||
|
||||
lane :ui_tests do
|
||||
run_tests(
|
||||
project: "ElementX.xcodeproj",
|
||||
scheme: "UITests",
|
||||
devices: ["iPhone 13 Pro Max", "iPad (9th generation)"],
|
||||
devices: ["iPhone 13 Pro Max (15.5)", "iPad (9th generation) (15.5)"],
|
||||
ensure_devices_found: true,
|
||||
prelaunch_simulator: true,
|
||||
output_directory: "fastlane/test_output/",
|
||||
result_bundle: true
|
||||
)
|
||||
|
||||
@@ -92,9 +98,9 @@ lane :tests do
|
||||
cobertura_xml: true,
|
||||
output_directory: "./fastlane/test_output",
|
||||
proj: "ElementX.xcodeproj",
|
||||
scheme: "ElementX",
|
||||
scheme: "UITests",
|
||||
binary_basename: "ElementX.app"
|
||||
)
|
||||
|
||||
end
|
||||
|
||||
lane :integration_tests do
|
||||
|
||||
Reference in New Issue
Block a user