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

Skip pod lint tests #3692

Merged
merged 2 commits into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions script/tool/lib/src/lint_podspecs_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class LintPodspecsCommand extends PluginCommand {
'lint',
podspecPath,
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--skip-tests',
if (allowWarnings) '--allow-warnings',
if (libraryLint) '--use-libraries'
];
Expand Down
4 changes: 4 additions & 0 deletions script/tool/test/lint_podspecs_command_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ void main() {
'lint',
p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'),
'--configuration=Debug',
'--skip-tests',
'--use-libraries'
],
mockPackagesDir.path),
Expand All @@ -92,6 +93,7 @@ void main() {
'lint',
p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'),
'--configuration=Debug',
'--skip-tests',
],
mockPackagesDir.path),
]),
Expand Down Expand Up @@ -141,6 +143,7 @@ void main() {
'lint',
p.join(plugin1Dir.path, 'plugin1.podspec'),
'--configuration=Debug',
'--skip-tests',
'--allow-warnings',
'--use-libraries'
],
Expand All @@ -152,6 +155,7 @@ void main() {
'lint',
p.join(plugin1Dir.path, 'plugin1.podspec'),
'--configuration=Debug',
'--skip-tests',
'--allow-warnings',
],
mockPackagesDir.path),
Expand Down