Skip to content

Commit efb7e94

Browse files
committed
Add swift-test-flags option
1 parent ba1c87d commit efb7e94

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ for the [Swift Algorithms](https://github.com/skiptools/swift-algorithms) packag
6161
swift-build-flags:
6262
description: 'Additional flags to pass to the swift build command'
6363
default: ''
64+
swift-test-flags:
65+
description: 'Additional flags to pass to the swift test command'
66+
default: ''
6467
run-tests:
6568
description: 'Whether to run the tests or just the build'
6669
default: 'true'

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ inputs:
1616
description: 'Additional flags to pass to the swift build command'
1717
required: true
1818
default: ''
19+
swift-test-flags:
20+
description: 'Additional flags to pass to the swift test command'
21+
required: true
22+
default: ''
1923
android-emulator-options:
2024
description: 'Options to pass to the Android emulator'
2125
required: true
@@ -54,5 +58,5 @@ runs:
5458
emulator-boot-timeout: ${{ inputs.android-emulator-boot-timeout }}
5559
emulator-options: ${{ inputs.android-emulator-options }}
5660
arch: x86_64
57-
script: skip android test --package-path ${{ inputs.package-path }} ${{ inputs.swift-build-flags }}
61+
script: skip android test --package-path ${{ inputs.package-path }} ${{ inputs.swift-build-flags }} ${{ inputs.swift-test-flags }}
5862

0 commit comments

Comments
 (0)