diff --git a/steps/flutter-build-patrol/0.0.1/step.yml b/steps/flutter-build-patrol/0.0.1/step.yml new file mode 100644 index 000000000..444b67f86 --- /dev/null +++ b/steps/flutter-build-patrol/0.0.1/step.yml @@ -0,0 +1,130 @@ +title: Flutter Build Patrol +summary: Install and Build Patrol for Flutter Projects +description: |- + This steps initialy does: + - Installing the Patrol CLI if it is not already installed. + - Validates the installed Patrol CLI version and your project's Patrol version. + - Builds the Patrol APK, iOS or BOTH if specified. +website: https://github.com/gpac-Tech-Hub/patrol_build_flutter +source_code_url: https://github.com/gpac-Tech-Hub/patrol_build_flutter +support_url: https://github.com/gpac-Tech-Hub/patrol_build_flutter/issues +published_at: 2025-09-18T14:28:21.649292+02:00 +source: + git: https://github.com/Gpac-LLC/patrol_build_flutter.git + commit: e8de4948e1c34c96566b45a469eb92983b58f9b5 +project_type_tags: +- flutter +type_tags: +- test +- build +- integration +toolkit: + go: + package_name: github.com/gpac-Tech-Hub/patrol_build_flutter +inputs: +- opts: + description: |- + If you want to use a specific version of Patrol, you can specify it here. + If you leave this input empty, the step will use the latest version of Patrol. + This is useful if you want to test a specific version of Patrol or if you have a specific version that you need to use for your project. + You can specify the version in the format `X.Y.Z`, for example `1.2.3`. + If you specify a version that is not available, the step will fail. + is_required: false + summary: Custom Patrol Version + title: Custom Patrol Version + patrol_version: $FLUTTER_BUILD_PATROL_VERSION +- opts: + description: The selected platform will be built, or both iOs and Android if you + select both + is_required: true + summary: The selected platform will be built, or both iOS and Android if you select + both + title: Platform + value_options: + - both + - ios + - android + platform: $FLUTTER_BUILD_PATROL_PLATFORM +- opts: + description: |- + The selected target will be built. + Need to select your patrol integration test file. + This file path should be given. + is_required: true + summary: The selected target will be built. + title: Target + value_options: + - both + - iOS + - android + target: $FLUTTER_BUILD_PATROL_TARGET +- build_type: $FLUTTER_BUILD_PATROL_BUILD_TYPE + opts: + description: |- + The build type to use for the selected Platform. + If you leave this input empty, the step will use the default build type, which is `release`. + You can specify `debug` or `release` as the build type. + is_required: false + summary: The build type to use for the selected Platform + title: Build Type + value_options: + - release + - simulator +- opts: + description: |- + Tags to filter the tests to run. + You can specify multiple tags separated by commas. + If you leave this input empty, all tests will be run. + is_required: false + summary: Tags to filter the tests to run + title: Tags + tags: $FLUTTER_BUILD_PATROL_TAGS +- excluded_tags: $FLUTTER_BUILD_PATROL_EXCLUDED_TAGS + opts: + description: |- + Tags to exclude from the tests to run. + You can specify multiple tags separated by commas. + If you leave this input empty, no tags will be excluded. + is_required: false + summary: Tags to exclude from the tests to run + title: Excluded Tags +- is_verbose: $FLUTTER_BUILD_PATROL_IS_VERBOSE + opts: + description: |- + If you want to disable verbose output for the step, you can set this input to `false`. + If you leave this input empty, the step will enable verbose output. + Verbose output can help you debug issues with the step. + It will print additional information about the step's execution. + is_required: false + summary: Enable verbose output + title: Verbose + value_options: + - true + - false +- is_covered: $FLUTTER_BUILD_PATROL_IS_COVERED + opts: + description: |- + If you want to enable coverage for the tests, you can set this input to `true`. + If you leave this input empty, the step will not enable coverage. + is_required: false + summary: Enable coverage for the tests + title: Is Covered + value_options: + - true + - false +outputs: +- PATROL_APK_PATH: null + opts: + description: The path to the Patrol APK file generated by the step + summary: This output contains the path to the Patrol APK file + title: Patrol APK Path +- IOS_APP_PATH: null + opts: + description: The path to the Patrol iOS app file generated by the step + summary: This output contains the path to the Patrol iOS app file + title: Patrol iOS App Path +- TEST_COVERAGE_ICOV_PATH: null + opts: + description: The path to the test coverage file generated by the step + summary: This output contains the path to the test coverage file + title: Test Coverage Icov Path diff --git a/steps/flutter-build-patrol/assets/icon.svg b/steps/flutter-build-patrol/assets/icon.svg new file mode 100644 index 000000000..fce2d4b9d --- /dev/null +++ b/steps/flutter-build-patrol/assets/icon.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/steps/flutter-build-patrol/step-info.yml b/steps/flutter-build-patrol/step-info.yml new file mode 100644 index 000000000..e932625fa --- /dev/null +++ b/steps/flutter-build-patrol/step-info.yml @@ -0,0 +1 @@ +maintainer: community