fastlane 2.201.0 → 2.201.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +98 -98
- data/fastlane/lib/fastlane/actions/.run_tests.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/run_tests.rb +8 -0
- data/fastlane/lib/fastlane/actions/xcov.rb +5 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +1 -1
- data/fastlane/swift/Fastlane.swift +11 -3
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
- data/fastlane/swift/formatting/Brewfile.lock.json +3 -3
- data/scan/lib/scan/.error_handler.rb.swp +0 -0
- data/scan/lib/scan/.runner.rb.swp +0 -0
- data/scan/lib/scan/error_handler.rb +9 -0
- data/trainer/lib/trainer/.options.rb.swp +0 -0
- data/trainer/lib/trainer/options.rb +11 -0
- metadata +24 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: de45de805167ed42b9b9ca8e458af9c292ea15254677ef2096f3d4d22be71f27
|
|
4
|
+
data.tar.gz: 4b8aeaaa8347aa87e6d467d1c25d0f97672e25689c1f3d2a90775e1a638c8fc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba614e31deb05b17521edc2cc755738b876f80cb4b0d49411f76d524665c358241d79d1401b1e58f5de93778235a73e8f982f6a250912f3fde358c9e51b5b59a
|
|
7
|
+
data.tar.gz: 997d036a081987c2df2134057f4c1ac94fe81ac6a06af00994d326797207eb7b4bcabe3c3605c9092c91e473e745d9c2e5516811b9172b3c596f874d3292c41e
|
data/README.md
CHANGED
|
@@ -35,67 +35,67 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
35
35
|
<!-- This table is regenerated and resorted on each release -->
|
|
36
36
|
<table id='team'>
|
|
37
37
|
<tr>
|
|
38
|
-
<td id='
|
|
39
|
-
<a href='https://github.com/
|
|
40
|
-
<img src='https://github.com/
|
|
38
|
+
<td id='jorge-revuelta-h'>
|
|
39
|
+
<a href='https://github.com/minuscorp'>
|
|
40
|
+
<img src='https://github.com/minuscorp.png' width='140px;'>
|
|
41
41
|
</a>
|
|
42
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
42
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
|
43
43
|
</td>
|
|
44
|
-
<td id='
|
|
45
|
-
<a href='https://github.com/
|
|
46
|
-
<img src='https://github.com/
|
|
44
|
+
<td id='luka-mirosevic'>
|
|
45
|
+
<a href='https://github.com/lmirosevic'>
|
|
46
|
+
<img src='https://github.com/lmirosevic.png' width='140px;'>
|
|
47
47
|
</a>
|
|
48
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
48
|
+
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
|
49
49
|
</td>
|
|
50
|
-
<td id='
|
|
51
|
-
<a href='https://github.com/
|
|
52
|
-
<img src='https://github.com/
|
|
50
|
+
<td id='jimmy-dee'>
|
|
51
|
+
<a href='https://github.com/jdee'>
|
|
52
|
+
<img src='https://github.com/jdee.png' width='140px;'>
|
|
53
53
|
</a>
|
|
54
|
-
<h4 align='center'
|
|
54
|
+
<h4 align='center'>Jimmy Dee</h4>
|
|
55
55
|
</td>
|
|
56
|
-
<td id='
|
|
57
|
-
<a href='https://github.com/
|
|
58
|
-
<img src='https://github.com/
|
|
56
|
+
<td id='iulian-onofrei'>
|
|
57
|
+
<a href='https://github.com/revolter'>
|
|
58
|
+
<img src='https://github.com/revolter.png' width='140px;'>
|
|
59
59
|
</a>
|
|
60
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
60
|
+
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
|
61
61
|
</td>
|
|
62
|
-
<td id='
|
|
63
|
-
<a href='https://github.com/
|
|
64
|
-
<img src='https://github.com/
|
|
62
|
+
<td id='olivier-halligon'>
|
|
63
|
+
<a href='https://github.com/AliSoftware'>
|
|
64
|
+
<img src='https://github.com/AliSoftware.png' width='140px;'>
|
|
65
65
|
</a>
|
|
66
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
66
|
+
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
|
67
67
|
</td>
|
|
68
68
|
</tr>
|
|
69
69
|
<tr>
|
|
70
|
-
<td id='
|
|
71
|
-
<a href='https://github.com/
|
|
72
|
-
<img src='https://github.com/
|
|
70
|
+
<td id='łukasz-grabowski'>
|
|
71
|
+
<a href='https://github.com/lucgrabowski'>
|
|
72
|
+
<img src='https://github.com/lucgrabowski.png' width='140px;'>
|
|
73
73
|
</a>
|
|
74
|
-
<h4 align='center'
|
|
74
|
+
<h4 align='center'>Łukasz Grabowski</h4>
|
|
75
75
|
</td>
|
|
76
|
-
<td id='
|
|
77
|
-
<a href='https://github.com/
|
|
78
|
-
<img src='https://github.com/
|
|
76
|
+
<td id='josh-holtz'>
|
|
77
|
+
<a href='https://github.com/joshdholtz'>
|
|
78
|
+
<img src='https://github.com/joshdholtz.png' width='140px;'>
|
|
79
79
|
</a>
|
|
80
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
80
|
+
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
|
81
81
|
</td>
|
|
82
|
-
<td id='
|
|
83
|
-
<a href='https://github.com/
|
|
84
|
-
<img src='https://github.com/
|
|
82
|
+
<td id='felix-krause'>
|
|
83
|
+
<a href='https://github.com/KrauseFx'>
|
|
84
|
+
<img src='https://github.com/KrauseFx.png' width='140px;'>
|
|
85
85
|
</a>
|
|
86
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
86
|
+
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
|
87
87
|
</td>
|
|
88
|
-
<td id='
|
|
89
|
-
<a href='https://github.com/
|
|
90
|
-
<img src='https://github.com/
|
|
88
|
+
<td id='joshua-liebowitz'>
|
|
89
|
+
<a href='https://github.com/taquitos'>
|
|
90
|
+
<img src='https://github.com/taquitos.png' width='140px;'>
|
|
91
91
|
</a>
|
|
92
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
92
|
+
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
|
93
93
|
</td>
|
|
94
|
-
<td id='
|
|
95
|
-
<a href='https://github.com/
|
|
96
|
-
<img src='https://github.com/
|
|
94
|
+
<td id='danielle-tomlinson'>
|
|
95
|
+
<a href='https://github.com/endocrimes'>
|
|
96
|
+
<img src='https://github.com/endocrimes.png' width='140px;'>
|
|
97
97
|
</a>
|
|
98
|
-
<h4 align='center'
|
|
98
|
+
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
|
|
99
99
|
</td>
|
|
100
100
|
</tr>
|
|
101
101
|
<tr>
|
|
@@ -105,101 +105,101 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
|
105
105
|
</a>
|
|
106
106
|
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
|
107
107
|
</td>
|
|
108
|
-
<td id='
|
|
109
|
-
<a href='https://github.com/
|
|
110
|
-
<img src='https://github.com/
|
|
108
|
+
<td id='kohki-miki'>
|
|
109
|
+
<a href='https://github.com/giginet'>
|
|
110
|
+
<img src='https://github.com/giginet.png' width='140px;'>
|
|
111
111
|
</a>
|
|
112
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
112
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
|
113
113
|
</td>
|
|
114
|
-
<td id='
|
|
115
|
-
<a href='https://github.com/
|
|
116
|
-
<img src='https://github.com/
|
|
114
|
+
<td id='daniel-jankowski'>
|
|
115
|
+
<a href='https://github.com/mollyIV'>
|
|
116
|
+
<img src='https://github.com/mollyIV.png' width='140px;'>
|
|
117
117
|
</a>
|
|
118
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
118
|
+
<h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
|
|
119
119
|
</td>
|
|
120
|
-
<td id='
|
|
121
|
-
<a href='https://github.com/
|
|
122
|
-
<img src='https://github.com/
|
|
120
|
+
<td id='roger-oba'>
|
|
121
|
+
<a href='https://github.com/rogerluan'>
|
|
122
|
+
<img src='https://github.com/rogerluan.png' width='140px;'>
|
|
123
123
|
</a>
|
|
124
|
-
<h4 align='center'>
|
|
124
|
+
<h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
|
|
125
125
|
</td>
|
|
126
|
-
<td id='
|
|
127
|
-
<a href='https://github.com/
|
|
128
|
-
<img src='https://github.com/
|
|
126
|
+
<td id='satoshi-namai'>
|
|
127
|
+
<a href='https://github.com/ainame'>
|
|
128
|
+
<img src='https://github.com/ainame.png' width='140px;'>
|
|
129
129
|
</a>
|
|
130
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
130
|
+
<h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
|
|
131
131
|
</td>
|
|
132
132
|
</tr>
|
|
133
133
|
<tr>
|
|
134
|
-
<td id='jorge-revuelta-h'>
|
|
135
|
-
<a href='https://github.com/minuscorp'>
|
|
136
|
-
<img src='https://github.com/minuscorp.png' width='140px;'>
|
|
137
|
-
</a>
|
|
138
|
-
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
|
139
|
-
</td>
|
|
140
134
|
<td id='manish-rathi'>
|
|
141
135
|
<a href='https://github.com/crazymanish'>
|
|
142
136
|
<img src='https://github.com/crazymanish.png' width='140px;'>
|
|
143
137
|
</a>
|
|
144
138
|
<h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
|
|
145
139
|
</td>
|
|
146
|
-
<td id='
|
|
147
|
-
<a href='https://github.com/
|
|
148
|
-
<img src='https://github.com/
|
|
140
|
+
<td id='aaron-brager'>
|
|
141
|
+
<a href='https://github.com/getaaron'>
|
|
142
|
+
<img src='https://github.com/getaaron.png' width='140px;'>
|
|
149
143
|
</a>
|
|
150
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
144
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
|
151
145
|
</td>
|
|
152
|
-
<td id='
|
|
153
|
-
<a href='https://github.com/
|
|
154
|
-
<img src='https://github.com/
|
|
146
|
+
<td id='jérôme-lacoste'>
|
|
147
|
+
<a href='https://github.com/lacostej'>
|
|
148
|
+
<img src='https://github.com/lacostej.png' width='140px;'>
|
|
155
149
|
</a>
|
|
156
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
150
|
+
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
|
157
151
|
</td>
|
|
158
|
-
<td id='
|
|
159
|
-
<a href='https://github.com/
|
|
160
|
-
<img src='https://github.com/
|
|
152
|
+
<td id='stefan-natchev'>
|
|
153
|
+
<a href='https://github.com/snatchev'>
|
|
154
|
+
<img src='https://github.com/snatchev.png' width='140px;'>
|
|
161
155
|
</a>
|
|
162
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
156
|
+
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
|
157
|
+
</td>
|
|
158
|
+
<td id='jan-piotrowski'>
|
|
159
|
+
<a href='https://github.com/janpio'>
|
|
160
|
+
<img src='https://github.com/janpio.png' width='140px;'>
|
|
161
|
+
</a>
|
|
162
|
+
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
|
163
163
|
</td>
|
|
164
164
|
</tr>
|
|
165
165
|
<tr>
|
|
166
|
-
<td id='
|
|
167
|
-
<a href='https://github.com/
|
|
168
|
-
<img src='https://github.com/
|
|
166
|
+
<td id='matthew-ellis'>
|
|
167
|
+
<a href='https://github.com/matthewellis'>
|
|
168
|
+
<img src='https://github.com/matthewellis.png' width='140px;'>
|
|
169
169
|
</a>
|
|
170
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
170
|
+
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
|
171
171
|
</td>
|
|
172
|
-
<td id='
|
|
173
|
-
<a href='https://github.com/
|
|
174
|
-
<img src='https://github.com/
|
|
172
|
+
<td id='andrew-mcburney'>
|
|
173
|
+
<a href='https://github.com/armcburney'>
|
|
174
|
+
<img src='https://github.com/armcburney.png' width='140px;'>
|
|
175
175
|
</a>
|
|
176
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
176
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
|
177
177
|
</td>
|
|
178
|
-
<td id='
|
|
179
|
-
<a href='https://github.com/
|
|
180
|
-
<img src='https://github.com/
|
|
178
|
+
<td id='fumiya-nakamura'>
|
|
179
|
+
<a href='https://github.com/nafu'>
|
|
180
|
+
<img src='https://github.com/nafu.png' width='140px;'>
|
|
181
181
|
</a>
|
|
182
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
182
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
|
183
183
|
</td>
|
|
184
|
-
<td id='
|
|
185
|
-
<a href='https://github.com/
|
|
186
|
-
<img src='https://github.com/
|
|
184
|
+
<td id='helmut-januschka'>
|
|
185
|
+
<a href='https://github.com/hjanuschka'>
|
|
186
|
+
<img src='https://github.com/hjanuschka.png' width='140px;'>
|
|
187
187
|
</a>
|
|
188
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
188
|
+
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
|
189
189
|
</td>
|
|
190
|
-
<td id='
|
|
191
|
-
<a href='https://github.com/
|
|
192
|
-
<img src='https://github.com/
|
|
190
|
+
<td id='max-ott'>
|
|
191
|
+
<a href='https://github.com/max-ott'>
|
|
192
|
+
<img src='https://github.com/max-ott.png' width='140px;'>
|
|
193
193
|
</a>
|
|
194
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
194
|
+
<h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
|
|
195
195
|
</td>
|
|
196
196
|
</tr>
|
|
197
197
|
<tr>
|
|
198
|
-
<td id='
|
|
199
|
-
<a href='https://github.com/
|
|
200
|
-
<img src='https://github.com/
|
|
198
|
+
<td id='maksym-grebenets'>
|
|
199
|
+
<a href='https://github.com/mgrebenets'>
|
|
200
|
+
<img src='https://github.com/mgrebenets.png' width='140px;'>
|
|
201
201
|
</a>
|
|
202
|
-
<h4 align='center'><a href='https://twitter.com/
|
|
202
|
+
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
|
203
203
|
</td>
|
|
204
204
|
</table>
|
|
205
205
|
|
|
Binary file
|
|
@@ -4,6 +4,7 @@ module Fastlane
|
|
|
4
4
|
SCAN_DERIVED_DATA_PATH = :SCAN_DERIVED_DATA_PATH
|
|
5
5
|
SCAN_GENERATED_PLIST_FILE = :SCAN_GENERATED_PLIST_FILE
|
|
6
6
|
SCAN_GENERATED_PLIST_FILES = :SCAN_GENERATED_PLIST_FILES
|
|
7
|
+
SCAN_GENERATED_XCRESULT_PATH = :SCAN_GENERATED_XCRESULT_PATH
|
|
7
8
|
SCAN_ZIP_BUILD_PRODUCTS_PATH = :SCAN_ZIP_BUILD_PRODUCTS_PATH
|
|
8
9
|
end
|
|
9
10
|
|
|
@@ -29,6 +30,12 @@ module Fastlane
|
|
|
29
30
|
raise ex
|
|
30
31
|
end
|
|
31
32
|
ensure
|
|
33
|
+
if Scan.cache && (result_bundle_path = Scan.cache[:result_bundle_path])
|
|
34
|
+
Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH] = File.absolute_path(result_bundle_path)
|
|
35
|
+
else
|
|
36
|
+
Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH] = nil
|
|
37
|
+
end
|
|
38
|
+
|
|
32
39
|
unless values[:derived_data_path].to_s.empty?
|
|
33
40
|
plist_files_before = manager.plist_files_before || []
|
|
34
41
|
|
|
@@ -70,6 +77,7 @@ module Fastlane
|
|
|
70
77
|
['SCAN_DERIVED_DATA_PATH', 'The path to the derived data'],
|
|
71
78
|
['SCAN_GENERATED_PLIST_FILE', 'The generated plist file'],
|
|
72
79
|
['SCAN_GENERATED_PLIST_FILES', 'The generated plist files'],
|
|
80
|
+
['SCAN_GENERATED_XCRESULT_PATH', 'The path to the generated .xcresult'],
|
|
73
81
|
['SCAN_ZIP_BUILD_PRODUCTS_PATH', 'The path to the zipped build products']
|
|
74
82
|
]
|
|
75
83
|
end
|
|
@@ -5,6 +5,11 @@ module Fastlane
|
|
|
5
5
|
Actions.verify_gem!('xcov')
|
|
6
6
|
require 'xcov'
|
|
7
7
|
|
|
8
|
+
if values[:xccov_file_direct_path].nil? && (path = Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH])
|
|
9
|
+
UI.verbose("Pulling xcov 'xccov_file_direct_path' from SharedValues::SCAN_GENERATED_XCRESULT_PATH")
|
|
10
|
+
values[:xccov_file_direct_path] = path
|
|
11
|
+
end
|
|
12
|
+
|
|
8
13
|
Xcov::Manager.new(values).run
|
|
9
14
|
end
|
|
10
15
|
|
|
@@ -11433,31 +11433,39 @@ public func testflight(apiKeyPath: OptionalConfigValue<String?> = .fastlaneDefau
|
|
|
11433
11433
|
- path: Path to the directory that should be converted
|
|
11434
11434
|
- extension: The extension for the newly created file. Usually .xml or .junit
|
|
11435
11435
|
- outputDirectory: Directoy in which the xml files should be written to. Same directory as source by default
|
|
11436
|
+
- outputFilename: Filename the xml file should be written to. Defaults to name of input file. (Only works if one input file is used)
|
|
11436
11437
|
- failBuild: Should this step stop the build if the tests fail? Set this to false if you're handling this with a test reporter
|
|
11437
11438
|
- xcprettyNaming: Produces class name and test name identical to xcpretty naming in junit file
|
|
11438
11439
|
- silent: Silences all output
|
|
11440
|
+
- outputRemoveRetryAttempts: Doesn't include retry attempts in the output
|
|
11439
11441
|
|
|
11440
11442
|
- returns: A hash with the key being the path of the generated file, the value being if the tests were successful
|
|
11441
11443
|
*/
|
|
11442
11444
|
public func trainer(path: String = ".",
|
|
11443
11445
|
extension: String = ".xml",
|
|
11444
11446
|
outputDirectory: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
11447
|
+
outputFilename: OptionalConfigValue<String?> = .fastlaneDefault(nil),
|
|
11445
11448
|
failBuild: OptionalConfigValue<Bool> = .fastlaneDefault(true),
|
|
11446
11449
|
xcprettyNaming: OptionalConfigValue<Bool> = .fastlaneDefault(false),
|
|
11447
|
-
silent: OptionalConfigValue<Bool> = .fastlaneDefault(false)
|
|
11450
|
+
silent: OptionalConfigValue<Bool> = .fastlaneDefault(false),
|
|
11451
|
+
outputRemoveRetryAttempts: OptionalConfigValue<Bool> = .fastlaneDefault(false))
|
|
11448
11452
|
{
|
|
11449
11453
|
let pathArg = RubyCommand.Argument(name: "path", value: path, type: nil)
|
|
11450
11454
|
let extensionArg = RubyCommand.Argument(name: "extension", value: `extension`, type: nil)
|
|
11451
11455
|
let outputDirectoryArg = outputDirectory.asRubyArgument(name: "output_directory", type: nil)
|
|
11456
|
+
let outputFilenameArg = outputFilename.asRubyArgument(name: "output_filename", type: nil)
|
|
11452
11457
|
let failBuildArg = failBuild.asRubyArgument(name: "fail_build", type: nil)
|
|
11453
11458
|
let xcprettyNamingArg = xcprettyNaming.asRubyArgument(name: "xcpretty_naming", type: nil)
|
|
11454
11459
|
let silentArg = silent.asRubyArgument(name: "silent", type: nil)
|
|
11460
|
+
let outputRemoveRetryAttemptsArg = outputRemoveRetryAttempts.asRubyArgument(name: "output_remove_retry_attempts", type: nil)
|
|
11455
11461
|
let array: [RubyCommand.Argument?] = [pathArg,
|
|
11456
11462
|
extensionArg,
|
|
11457
11463
|
outputDirectoryArg,
|
|
11464
|
+
outputFilenameArg,
|
|
11458
11465
|
failBuildArg,
|
|
11459
11466
|
xcprettyNamingArg,
|
|
11460
|
-
silentArg
|
|
11467
|
+
silentArg,
|
|
11468
|
+
outputRemoveRetryAttemptsArg]
|
|
11461
11469
|
let args: [RubyCommand.Argument] = array
|
|
11462
11470
|
.filter { $0?.value != nil }
|
|
11463
11471
|
.compactMap { $0 }
|
|
@@ -13386,4 +13394,4 @@ public let snapshotfile: Snapshotfile = .init()
|
|
|
13386
13394
|
|
|
13387
13395
|
// Please don't remove the lines below
|
|
13388
13396
|
// They are used to detect outdated files
|
|
13389
|
-
// FastlaneRunnerAPIVersion [0.9.
|
|
13397
|
+
// FastlaneRunnerAPIVersion [0.9.145]
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"macOS": "11.6"
|
|
57
57
|
},
|
|
58
58
|
"monterey": {
|
|
59
|
-
"HOMEBREW_VERSION": "3.3.11-
|
|
59
|
+
"HOMEBREW_VERSION": "3.3.11-103-g768b172",
|
|
60
60
|
"HOMEBREW_PREFIX": "/opt/homebrew",
|
|
61
|
-
"Homebrew/homebrew-core": "
|
|
62
|
-
"CLT": "13.
|
|
61
|
+
"Homebrew/homebrew-core": "3636e44542f6dbd859a4bd8a143a433e8930361f",
|
|
62
|
+
"CLT": "13.2.0.0.1.1638488800",
|
|
63
63
|
"Xcode": "13.2.1",
|
|
64
64
|
"macOS": "12.0.1"
|
|
65
65
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -27,6 +27,15 @@ module Scan
|
|
|
27
27
|
print("If you are using zshell or another shell, make sure to edit the correct bash file.")
|
|
28
28
|
print("For more information visit this stackoverflow answer:")
|
|
29
29
|
print("https://stackoverflow.com/a/17031697/445598")
|
|
30
|
+
when /Testing failed on/
|
|
31
|
+
# This is important because xcbeautify and raw output will print:
|
|
32
|
+
# Testing failed on 'iPhone 13 Pro Max'
|
|
33
|
+
# when multiple devices are use.
|
|
34
|
+
# xcpretty hides this output so its not an issue with xcpretty.
|
|
35
|
+
# We need to catch "Testing failed on" before "Test failed"
|
|
36
|
+
# so that an error isn't raised.
|
|
37
|
+
# Raising an error prevents trainer from processing the xcresult
|
|
38
|
+
return
|
|
30
39
|
when /Testing failed/
|
|
31
40
|
UI.build_failure!("Error building the application. #{details}")
|
|
32
41
|
when /Executed/, /Failing tests:/
|
|
Binary file
|
|
@@ -33,6 +33,12 @@ module Trainer
|
|
|
33
33
|
default_value: nil,
|
|
34
34
|
optional: true,
|
|
35
35
|
description: "Directoy in which the xml files should be written to. Same directory as source by default"),
|
|
36
|
+
FastlaneCore::ConfigItem.new(key: :output_filename,
|
|
37
|
+
short_option: "-f",
|
|
38
|
+
env_name: "TRAINER_OUTPUT_FILENAME",
|
|
39
|
+
default_value: nil,
|
|
40
|
+
optional: true,
|
|
41
|
+
description: "Filename the xml file should be written to. Defaults to name of input file. (Only works if one input file is used)"),
|
|
36
42
|
FastlaneCore::ConfigItem.new(key: :fail_build,
|
|
37
43
|
env_name: "TRAINER_FAIL_BUILD",
|
|
38
44
|
description: "Should this step stop the build if the tests fail? Set this to false if you're handling this with a test reporter",
|
|
@@ -48,6 +54,11 @@ module Trainer
|
|
|
48
54
|
env_name: "TRAINER_SILENT",
|
|
49
55
|
description: "Silences all output",
|
|
50
56
|
is_string: false,
|
|
57
|
+
default_value: false),
|
|
58
|
+
FastlaneCore::ConfigItem.new(key: :output_remove_retry_attempts,
|
|
59
|
+
env_name: "TRAINER_OUTPUT_REMOVE_RETRY_ATTEMPTS",
|
|
60
|
+
description: "Doesn't include retry attempts in the output",
|
|
61
|
+
is_string: false,
|
|
51
62
|
default_value: false)
|
|
52
63
|
]
|
|
53
64
|
end
|
metadata
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.201.
|
|
4
|
+
version: 2.201.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Jan Piotrowski
|
|
8
7
|
- Jorge Revuelta H
|
|
9
|
-
- Łukasz Grabowski
|
|
10
|
-
- Max Ott
|
|
11
|
-
- Joshua Liebowitz
|
|
12
|
-
- Stefan Natchev
|
|
13
|
-
- Andrew McBurney
|
|
14
8
|
- Jérôme Lacoste
|
|
15
|
-
-
|
|
9
|
+
- Andrew McBurney
|
|
10
|
+
- Daniel Jankowski
|
|
11
|
+
- Satoshi Namai
|
|
16
12
|
- Helmut Januschka
|
|
13
|
+
- Josh Holtz
|
|
14
|
+
- Iulian Onofrei
|
|
15
|
+
- Roger Oba
|
|
17
16
|
- Jimmy Dee
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
- Maksym Grebenets
|
|
21
|
-
- Manish Rathi
|
|
17
|
+
- Łukasz Grabowski
|
|
18
|
+
- Manu Wallner
|
|
22
19
|
- Matthew Ellis
|
|
23
|
-
-
|
|
20
|
+
- Manish Rathi
|
|
21
|
+
- Jan Piotrowski
|
|
22
|
+
- Fumiya Nakamura
|
|
24
23
|
- Luka Mirosevic
|
|
25
|
-
-
|
|
26
|
-
-
|
|
24
|
+
- Olivier Halligon
|
|
25
|
+
- Joshua Liebowitz
|
|
27
26
|
- Felix Krause
|
|
28
|
-
- Fumiya Nakamura
|
|
29
27
|
- Aaron Brager
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
28
|
+
- Kohki Miki
|
|
29
|
+
- Stefan Natchev
|
|
30
|
+
- Max Ott
|
|
31
|
+
- Danielle Tomlinson
|
|
32
|
+
- Maksym Grebenets
|
|
33
33
|
autorequire:
|
|
34
34
|
bindir: bin
|
|
35
35
|
cert_chain: []
|
|
36
|
-
date: 2022-01-
|
|
36
|
+
date: 2022-01-23 00:00:00.000000000 Z
|
|
37
37
|
dependencies:
|
|
38
38
|
- !ruby/object:Gem::Dependency
|
|
39
39
|
name: xcodeproj
|
|
@@ -1017,6 +1017,7 @@ files:
|
|
|
1017
1017
|
- fastlane/lib/fastlane/action.rb
|
|
1018
1018
|
- fastlane/lib/fastlane/action_collector.rb
|
|
1019
1019
|
- fastlane/lib/fastlane/actions/.DS_Store
|
|
1020
|
+
- fastlane/lib/fastlane/actions/.run_tests.rb.swp
|
|
1020
1021
|
- fastlane/lib/fastlane/actions/README.md
|
|
1021
1022
|
- fastlane/lib/fastlane/actions/actions_helper.rb
|
|
1022
1023
|
- fastlane/lib/fastlane/actions/adb.rb
|
|
@@ -1577,6 +1578,8 @@ files:
|
|
|
1577
1578
|
- scan/lib/assets/ScanfileTemplate
|
|
1578
1579
|
- scan/lib/assets/ScanfileTemplate.swift
|
|
1579
1580
|
- scan/lib/scan.rb
|
|
1581
|
+
- scan/lib/scan/.error_handler.rb.swp
|
|
1582
|
+
- scan/lib/scan/.runner.rb.swp
|
|
1580
1583
|
- scan/lib/scan/commands_generator.rb
|
|
1581
1584
|
- scan/lib/scan/detect_values.rb
|
|
1582
1585
|
- scan/lib/scan/error_handler.rb
|
|
@@ -1847,6 +1850,7 @@ files:
|
|
|
1847
1850
|
- trainer/lib/.DS_Store
|
|
1848
1851
|
- trainer/lib/assets/junit.xml.erb
|
|
1849
1852
|
- trainer/lib/trainer.rb
|
|
1853
|
+
- trainer/lib/trainer/.options.rb.swp
|
|
1850
1854
|
- trainer/lib/trainer/commands_generator.rb
|
|
1851
1855
|
- trainer/lib/trainer/junit_generator.rb
|
|
1852
1856
|
- trainer/lib/trainer/module.rb
|