From 9f2e7fad23265a66bcc110d8ea067dc57a43bcf4 Mon Sep 17 00:00:00 2001 From: ronwsmith Date: Fri, 22 Oct 2021 04:10:04 -0500 Subject: [PATCH] feat(android): Pass through the `assemble_android_test` parameter from the `android_build` job to the command (#109 by @ronwsmith) --- src/jobs/android_build.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/jobs/android_build.yml b/src/jobs/android_build.yml index b05a143..54b0859 100644 --- a/src/jobs/android_build.yml +++ b/src/jobs/android_build.yml @@ -28,6 +28,10 @@ parameters: description: Should we cache after yarn install? Defaults to true type: boolean default: true + on_after_initialize: + description: A custom command to run right after yarn install. + type: string + default: "" # For the build command project_path: description: The path to the root of the Android project you want to build, relative to the root of the repository. @@ -37,14 +41,14 @@ parameters: description: The build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app. type: string default: "debug" - on_after_initialize: - description: A custom command to run right after yarn install. - type: string - default: "" build_cache: description: Should we cache after Gradle build? Defaults to true type: boolean default: true + assemble_android_test: + description: Configure the android tests to run. Defaults to assembleAndroidTest + type: string + default: assembleAndroidTest steps: - when: @@ -68,6 +72,7 @@ steps: project_path: <> build_type: <> cache: <> + assemble_android_test: <> - when: condition: <> steps: