Skip to content

Commit bfc6500

Browse files
authored
Update common_cocoapods.yml
1 parent 6ecc3c1 commit bfc6500

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/common_cocoapods.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ on:
5353
required: false
5454
default: false
5555

56+
# A comma separated (no spaces) string that will be passed to
57+
# pod lib lint's `--test-specs=` argument. By default, all
58+
# test specs will be tested.
59+
test_specs:
60+
type: string
61+
required: false
62+
default: ""
63+
5664
# A command to execute before testing.
5765
#
5866
# This is useful for additional set up, like starting an emulator or
@@ -104,4 +112,5 @@ jobs:
104112
command: |
105113
scripts/pod_lib_lint.rb ${{ inputs.product }}.podspec --platforms=${{ matrix.platform }} \
106114
${{ inputs.allow_warnings == true && '--allow-warnings' || '' }} \
115+
${{ inputs.test_specs != '' && '--test-specs=${{ inputs.test_specs }}' || '' }} \
107116
${{ (contains(inputs.buildonly_platforms, matrix.platform) || contains(inputs.buildonly_platforms, 'all')) && '--skip-tests' || '' }}

0 commit comments

Comments
 (0)