-
Notifications
You must be signed in to change notification settings - Fork 133
Expand file tree
/
Copy pathFastfile
More file actions
37 lines (27 loc) · 704 Bytes
/
Fastfile
File metadata and controls
37 lines (27 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This file contains the fastlane.tools configuration
default_platform(:ios)
simulator = "iPhone 8 Plus"
all_modules_schemes = [
'MoviesSearch-Example',
'Networking-Example',
'Authentication-Example',
]
#### TESTS ####
desc "Runs all unit and UI tests and tests if all modules are buildable"
desc "Use `fastlane test`"
lane :test do |options|
# Check if all modules are buildable
all_modules_schemes.each do |s|
UI.message "Testing if module #{s} is buildable"
scan(
scheme: s,
device: simulator,
build_for_testing: true,
)
end
# Run all unit and UI tests, and test if App is buildable
scan(
scheme: "App",
device: simulator,
)
end