Skip to content

Commit 75b8319

Browse files
committed
Add bitrise verifications for ktx library
1 parent 44ab784 commit 75b8319

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

bitrise.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ workflows:
3535
- auth_token: $GITHUB_TOKEN
3636
- status_identifier: "Library"
3737
- pipeline_build_url: "$BITRISE_BUILD_URL"
38+
- github-status@3:
39+
run_if: .IsCI
40+
inputs:
41+
- set_specific_status: "pending"
42+
- auth_token: $GITHUB_TOKEN
43+
- status_identifier: "Ktx"
44+
- pipeline_build_url: "$BITRISE_BUILD_URL"
3845
- github-status@3:
3946
run_if: .IsCI
4047
inputs:
@@ -208,6 +215,41 @@ workflows:
208215
- _globalSetup
209216
- _emulatorSetup
210217

218+
test_ktx:
219+
steps:
220+
- gradle-runner@2:
221+
inputs:
222+
- gradlew_path: "./gradlew"
223+
- gradle_task: Ktx:ktlintCheck
224+
title: KtLint
225+
- android-unit-test@1:
226+
inputs:
227+
- project_location: "$PROJECT_LOCATION"
228+
- variant: Debug
229+
- module: Ktx
230+
- cache_level: none
231+
- gradle-runner@2:
232+
inputs:
233+
- gradlew_path: "./gradlew"
234+
- gradle_task: Ktx:assembleDebugAndroidTest
235+
title: Build Test APK
236+
- android-instrumented-test@0:
237+
inputs:
238+
- test_apk_path: "./Ktx/build/outputs/apk/androidTest/debug/testify-ktx-debug-androidTest.apk"
239+
- main_apk_path: "./Ktx/build/outputs/apk/androidTest/debug/testify-ktx-debug-androidTest.apk"
240+
- deploy-to-bitrise-io@2:
241+
inputs:
242+
- notify_user_groups: none
243+
- github-status@3:
244+
run_if: .IsCI
245+
inputs:
246+
- auth_token: $GITHUB_TOKEN
247+
- status_identifier: "Ktx"
248+
- pipeline_build_url: "$BITRISE_BUILD_URL"
249+
before_run:
250+
- _globalSetup
251+
- _emulatorSetup
252+
211253
test_plugin:
212254
steps:
213255
- gradle-runner@2:

0 commit comments

Comments
 (0)