fastlane-plugin-bluepill 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: db1cc2bdf9118e06bc9ef48909e6cfda1fcb96d1
4
- data.tar.gz: 95e0daa49c38871c250cbe6ef235c713aa8ec968
3
+ metadata.gz: c93d3d47c315460cbda414c6f2e1bc9a3be2e24f
4
+ data.tar.gz: 3c295dccc0df0b84bc75d2f40f1ba642aa2b7d65
5
5
  SHA512:
6
- metadata.gz: eb21dd22d646c4f651de1d4fc41bd86c63a2895a91ac0ca1eac2a64d54f47ceac9e0f0179113c77dbb9365fed61369f15dd966d7fd4f0e9fe77ec96ced04bbbe
7
- data.tar.gz: e3ef20049c49564bfe5f92da5a663cc78ec748700917fe38d886af16ef7b0f63f87d86574945a6ad3a783244c45b6ddee529d6ded5b83f54e0e12ffc06e3b2ef
6
+ metadata.gz: 1dc78b5ac8313a54aafd74834ff7ef7a3f9e8ee17c15da08d89dfc890caf84eb7e8fd76bb55c641292f613afb2a15fc4686feddd58b58a3e3341bab09b493829
7
+ data.tar.gz: 85f70e2395eca4c37d664087b59e7ea5642f4e631ac4b362bd37032be7459fe511d2535a4faa5f6d6f2198c4d1d623da256abf66c6a8c2dce371ceed7a0d0e97
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # bluepill plugin
1
+ # Bluepill plugin
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-bluepill)
4
4
 
@@ -10,18 +10,14 @@ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To ge
10
10
  fastlane add_plugin bluepill
11
11
  ```
12
12
 
13
- ## About bluepill
13
+ ## About Bluepill
14
14
 
15
- Plugin to use bluepill in fastlane
16
-
17
- **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
15
+ [Bluepill](https://github.com/linkedin/bluepill) is powered by LinkedIn. By using this plugin, you can run iOS tests in parallel using multiple simulators.
18
16
 
19
17
  ## Example
20
18
 
21
19
  Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
22
20
 
23
- **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
24
-
25
21
  ## Run tests for this plugin
26
22
 
27
23
  To run both the tests, and code style validation, run
@@ -3,7 +3,14 @@ module Fastlane
3
3
  class BluepillAction < Action
4
4
  def self.run(params)
5
5
  UI.message("Start test by using Bluepill: https://github.com/linkedin/bluepill")
6
- `#{bin_bluepill} -a #{params[:app]} -o #{params[:output_dir]} -s #{params[:scheme]}`
6
+ cmd = "#{bin_bluepill}"
7
+ cmd << " -a #{params[:app]}"
8
+ cmd << " -o #{params[:output_dir]}"
9
+ cmd << " -s #{params[:scheme]}"
10
+ cmd << " -d \"#{params[:device]}\""
11
+ cmd << " -n #{params[:number_of_simulators]}"
12
+ cmd << " -H" if params[:headless]
13
+ sh cmd
7
14
  end
8
15
 
9
16
  def self.bin_bluepill
@@ -31,17 +38,35 @@ module Fastlane
31
38
  env_name: "BLUEPILL_SCHEME_PATH",
32
39
  description: "scheme path by using bluepill",
33
40
  optional: false,
34
- type: String),
41
+ is_string: true),
35
42
  FastlaneCore::ConfigItem.new(key: :output_dir,
36
43
  env_name: "BLUEPILL_OUTPUT_DIR",
37
44
  description: "output directory path by using bluepill",
38
45
  optional: false,
39
- type: String),
46
+ is_string: true),
40
47
  FastlaneCore::ConfigItem.new(key: :app,
41
48
  env_name: "BLUEPILL_APP_PATH",
42
49
  description: ".app path by using bluepill",
43
50
  optional: false,
44
- type: String),
51
+ is_string: true),
52
+ FastlaneCore::ConfigItem.new(key: :device,
53
+ env_name: "BLUEPILL_DEVICE",
54
+ description: "device for test use",
55
+ optional: true,
56
+ is_string: true,
57
+ default_value: "iPhone 6"),
58
+ FastlaneCore::ConfigItem.new(key: :headless,
59
+ env_name: "BLUEPILL_HEADLESS",
60
+ description: "run in headless mode (no GUI)",
61
+ optional: true,
62
+ is_string: false,
63
+ default_value: false),
64
+ FastlaneCore::ConfigItem.new(key: :number_of_simulators,
65
+ env_name: "BLUEPILL_NUMBER_OF_SIMLATORS",
66
+ description: "number of simulators to run in parallel. (bluepill only)",
67
+ optional: true,
68
+ is_string: false,
69
+ default_value: 4),
45
70
  ]
46
71
  end
47
72
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Bluepill
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-bluepill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tbrand