Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit d44d155

Browse files
authored
Skip pod lint tests (#3692)
1 parent 728129a commit d44d155

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

script/tool/lib/src/lint_podspecs_command.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ class LintPodspecsCommand extends PluginCommand {
123123
'lint',
124124
podspecPath,
125125
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
126+
'--skip-tests',
126127
if (allowWarnings) '--allow-warnings',
127128
if (libraryLint) '--use-libraries'
128129
];

script/tool/test/lint_podspecs_command_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ void main() {
8282
'lint',
8383
p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'),
8484
'--configuration=Debug',
85+
'--skip-tests',
8586
'--use-libraries'
8687
],
8788
mockPackagesDir.path),
@@ -92,6 +93,7 @@ void main() {
9293
'lint',
9394
p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'),
9495
'--configuration=Debug',
96+
'--skip-tests',
9597
],
9698
mockPackagesDir.path),
9799
]),
@@ -141,6 +143,7 @@ void main() {
141143
'lint',
142144
p.join(plugin1Dir.path, 'plugin1.podspec'),
143145
'--configuration=Debug',
146+
'--skip-tests',
144147
'--allow-warnings',
145148
'--use-libraries'
146149
],
@@ -152,6 +155,7 @@ void main() {
152155
'lint',
153156
p.join(plugin1Dir.path, 'plugin1.podspec'),
154157
'--configuration=Debug',
158+
'--skip-tests',
155159
'--allow-warnings',
156160
],
157161
mockPackagesDir.path),

0 commit comments

Comments
 (0)