fastlane-plugin-aws_device_farm 0.3.12.pre.alpha.pre.102 → 0.3.12.pre.alpha.pre.107

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f86c9021dc1847fd91f837d7bd8e6993606eaa0551c1a4202870ca60a5a0673
4
- data.tar.gz: 8e915b1726ef4a79cca5cd41b31864abee69fe86e5fa9de47ca0cee4c8afa0fb
3
+ metadata.gz: 06653166e78653cdebfb99731156524995161f2e4d58124ecf221014d8d62632
4
+ data.tar.gz: 773a75ce1a6d468863fb3a5a2eb4ae75cafb7643603d6d9fc48a83ec3ee8a341
5
5
  SHA512:
6
- metadata.gz: f3beec348acae492fd32127dfcb57ef8ed8bb71d163d0653c92a2e2fc6fbe3d799a607364ec28a9b0c94e608945ba60153dc0966acc191aa35bd74d00f23b7b3
7
- data.tar.gz: 59fdab5d6839e790667b498378059637f8a572d16c1b4a24e54bcf2b93ec9361db66508311a98d0feffec2ee59253a5ce97fdb36104cceb8c24da50ece791e2a
6
+ metadata.gz: 673820f98d4b6cb7204b0135430972698aa95d4569f6b95f4fcb51bf2d0279b63f6a2b8505c01c03e4fa76b386269b6121301e0a8628288f1c2fca47790aa160
7
+ data.tar.gz: 24afe19d58b9938b674ecacb9495fcb945571e5b49252634914511226af3aade493e8587b371a9e7c19ea07f9697737d3704b4c28274e013854a1b913a75feb1
data/README.md CHANGED
@@ -98,6 +98,7 @@ The plugin also exposes two ENV variables in case you want to make additional ca
98
98
  | test_spec | | Define the device farm custom TestSpec ARN to use (can be obtained using the AWS CLI `devicefarm list-uploads` command) | String |
99
99
  | filter | | Define a filter for your test run and only run the tests in the filter (note that using `test_spec` overrides the `filter` option) | String |
100
100
  | print_web_url_of_run | false | Do you want to print the web url of run in the messages? | Boolean |
101
+ | print_waiting_periods | true | Do you want to print `.` while waiting for a run? | Boolean
101
102
 
102
103
  Possible types see: http://docs.aws.amazon.com/sdkforruby/api/Aws/DeviceFarm/Client.html#create_upload-instance_method
103
104
 
@@ -38,7 +38,7 @@ module Fastlane
38
38
  test_upload = create_project_upload project, test_path, 'INSTRUMENTATION_TEST_PACKAGE'
39
39
  elsif params[:test_type] == 'XCTEST'
40
40
  test_upload = create_project_upload project, test_path, 'XCTEST_TEST_PACKAGE'
41
- else
41
+ else
42
42
  test_upload = create_project_upload project, test_path, 'XCTEST_UI_TEST_PACKAGE'
43
43
  end
44
44
  end
@@ -283,6 +283,14 @@ module Fastlane
283
283
  is_string: false,
284
284
  optional: true,
285
285
  default_value: false
286
+ ),
287
+ FastlaneCore::ConfigItem.new(
288
+ key: :print_waiting_periods,
289
+ env_name: 'FL_AWS_DEVICE_FARM_PRINT_WAITING_PERIODS',
290
+ description: 'Prints a period while waiting for tests to complete.',
291
+ is_string: false,
292
+ optional: true,
293
+ default_value: true
286
294
  )
287
295
  ]
288
296
  end
@@ -396,7 +404,9 @@ module Fastlane
396
404
  def self.wait_for_run(project, run)
397
405
  while run.status != 'COMPLETED'
398
406
  sleep POLLING_INTERVAL
399
- print '.'
407
+ if params[:print_waiting_periods]
408
+ print '.'
409
+ end
400
410
  run = fetch_run_status run
401
411
  end
402
412
  UI.message "The run ended with result #{run.result}."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-aws_device_farm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.12.pre.alpha.pre.102
4
+ version: 0.3.12.pre.alpha.pre.107
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-24 00:00:00.000000000 Z
11
+ date: 2019-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk