You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -15,9 +15,6 @@ Fastlane plugin for QA Wolf integration.
15
15
16
16
Uploads build artifacts (IPA, APK, or AAB) to QA Wolf storage for automated testing. Optionally triggers a test run on QA Wolf.
17
17
18
-
> [!CAUTION]
19
-
> To ensure QA Wolf tests target the correct app build and help debugging issues, we require uploaded filenames to be unique in some way. The example below uses the git commit hash, but you can use another unique identifier such as the app version number if you wish.
20
-
21
18
> [!IMPORTANT]
22
19
> Testing iOS apps (IPA) on QA Wolf is not yet available.
23
20
@@ -27,12 +24,9 @@ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plu
27
24
28
25
```ruby
29
26
lane :builddo
30
-
# The uploaded filename must be unique for your team on the QA Wolf platform.
31
-
# One way to achieve that is to rely on the git commit hash.
32
-
# Feel free to use a different mechanism if desired (e.g. app version).
27
+
# It's recommended to only trigger builds with a clean git status.
33
28
# See https://docs.fastlane.tools/actions/#source-control for other source control actions
34
29
ensure_git_status_clean
35
-
commit = last_git_commit
36
30
37
31
# Build your app
38
32
# Ensure the APK/AAB file has been created. Your use case may vary.
@@ -47,10 +41,11 @@ lane :build do
47
41
# Must be set or available as env var QAWOLF_API_KEY
48
42
qawolf_api_key:"qawolf_...",
49
43
50
-
# You can omit this if your gradle build outputs the file with a unique filename.
51
-
# If not, you'll want to do something like the following.
description: "Sets the environment key to use for the executable. Will alias the executable file's absolute path in tests to, for example, `process.env.RUN_INPUT_PATH` Defaults to `RUN_INPUT_PATH`",
84
87
optional: true,
88
+
default_value: "RUN_INPUT_PATH",
85
89
type: String),
90
+
FastlaneCore::ConfigItem.new(key: :branch,
91
+
description: "Defaults to the current git branch if available. Override by providing a custom value, or set it to false to send an empty value. Displayed in the QA Wolf UI to help find any pull requests in the linked repo",
92
+
optional: true,
93
+
default_value: Actions.git_branch,
94
+
type: Object),
86
95
FastlaneCore::ConfigItem.new(key: :commit_url,
87
96
description: "If you do not specify a hosting service, include this and the `sha` option to ensure the commit hash is a clickable link in QA Wolf",
88
97
optional: true,
@@ -104,16 +113,18 @@ def self.available_options
104
113
optional: true,
105
114
type: String),
106
115
FastlaneCore::ConfigItem.new(key: :sha,
107
-
description: "If a Git commit triggered this, include the commit hash so that we can create commit checks if you also have a GitHub repo linked. Also displayed in the QA Wolf UI",
116
+
description: "Defaults to the current git commit hash. Override by providing a custom value, or set to false to send an empty value. We use it to create commit checks if you also have a GitHub repo linked. Also displayed in the QA Wolf UI",
0 commit comments