Skip to content

Commit 2909659

Browse files
Merge pull request #2 from GraphQLSwift/feat/optional-android
Makes Android tests optional
2 parents 8310197 + 0a743d4 commit 2909659

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
required: false
99
default: ''
1010
description: "Specifies a subpath of the checkout that the package is contained in."
11+
include_android:
12+
type: boolean
13+
description: "Whether testing should include an Android target."
14+
default: true
1115

1216
env:
1317
PACKAGE_PATH: ${{ inputs.package_path != '' && format('--package-path={0}', inputs.package_path) || '' }}
@@ -51,6 +55,7 @@ jobs:
5155
5256
android:
5357
name: Test on Android
58+
if: ${{ inputs.include_android }}
5459
runs-on: ubuntu-latest
5560
steps:
5661
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)