fastlane-plugin-flutter_tests 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 216ca212fa4e036f26af8482fe8df422e8c3f4388e7f5187b86c7af715e53246
4
- data.tar.gz: bc7aad7153e8e729f58e201a4aa72c3dc46afb7190270a0a2515f517921dbf94
3
+ metadata.gz: e134b3e53ea1a6aa94cb983cfb66ae0843b6f0bc2263eade128e99f979d80639
4
+ data.tar.gz: 1384cfda230ccfe2e055f9c2801fe90db559c947390c02842dac720c39305c81
5
5
  SHA512:
6
- metadata.gz: 91d73eb0f995ebd7873d390493482c08f2545e0fc7797b2c2c740320b991072f524ea48c110ef5eb4d47aaac7cc8f3cef1df6dc68a074b320489d139173eb08b
7
- data.tar.gz: bf22e2131c59c14a77a7c652704c16279663153fbbdbf36c4e3cdab6426f3e30511b0d315320bdea4708dc9c4b8019c422ba78ce213ecdc2a789fa4bb3f41dcf
6
+ metadata.gz: c4b7dd57f2ea4d4e3a3b228a1494c6f0d8fad4ac6c2d055523a95f73368441fc04c66f39dfe93ac56c3873edbf21dcdff51be11d26b3d8d2c72a3800c4f3be68
7
+ data.tar.gz: 07b55a3475e471e8a499d97576f71773b773dd87d992be4f2f87bd158f4663671515370a5a86faaca32479349b3c35ca202fcaa40e75120dbab733d299cad234
@@ -91,13 +91,9 @@ module Fastlane
91
91
  count += 1
92
92
  end
93
93
 
94
- if tests['failed'] != 0
95
- UI.error("Some integration tests failed")
96
- 1
97
- else
98
- 0
94
+ unless tests['failed'] == 0
95
+ UI.user_error!("There are some integration tests that fail")
99
96
  end
100
-
101
97
  end
102
98
 
103
99
  # Returns the exit code of a process
@@ -51,6 +51,10 @@ module Fastlane
51
51
  UI.message('-' * max_length)
52
52
  messages.each { |m| UI.message(m) }
53
53
  UI.message('-' * max_length)
54
+
55
+ unless failed_tests == 0
56
+ UI.user_error!("There are some unitTests that fail")
57
+ end
54
58
  end
55
59
  end
56
60
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FlutterTests
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-flutter_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - smaso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-17 00:00:00.000000000 Z
11
+ date: 2022-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler