-
Notifications
You must be signed in to change notification settings - Fork 15
Tool -987 - Use android_output_type for both APK and AAB filtering #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5f854ed
Add Android App Bundle support fixes #6
koral-- 21c9bb7
TOOL-987 #comment add debug mode; upgrade the android_output_pattern
BirmacherAkos d44099e
TOOL-987 #comment use the android_output_pattern for APK an for AAB a…
BirmacherAkos 5ea2427
TOOL-987 #comment tes cases
BirmacherAkos 2bc3083
Merge branch 'master' into TOOL-987/app_path_pattern
BirmacherAkos d114c5b
TOOL-987 #comment PR fixes
BirmacherAkos 85c974a
TOOL-987 #comment PR fix
BirmacherAkos 73d3dac
TOOL-987 #comment PR fix
BirmacherAkos e03d827
TOOL-987 PR fix
BirmacherAkos 6919aab
Merge branch 'master' into TOOL-987/app_path_pattern
BirmacherAkos 16e9f50
TOOL-987 handle deprecated inputs
BirmacherAkos 561c761
-
BirmacherAkos 9771cb6
Merge branch 'master' into TOOL-987/app_path_pattern
BirmacherAkos 2d2f2fd
remove verbose mode from step.yml
BirmacherAkos a7961ae
pr fix
BirmacherAkos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| package main | ||
|
|
||
| import ( | ||
| "reflect" | ||
| "testing" | ||
| ) | ||
|
|
||
| func Test_filterAndroidArtifactsBy(t *testing.T) { | ||
| tests := []struct { | ||
| name string | ||
| androidOutputType AndroidArtifactType | ||
| artifacts []string | ||
| want []string | ||
| }{ | ||
| { | ||
| name: "Filter APK", | ||
| androidOutputType: APK, | ||
| artifacts: []string{ | ||
| "test.apk", | ||
| "test_2.apk", | ||
| "test.aab", | ||
| }, | ||
| want: []string{ | ||
| "test.apk", | ||
| "test_2.apk", | ||
| }, | ||
| }, | ||
| { | ||
| name: "Filter AAB", | ||
| androidOutputType: AppBundle, | ||
| artifacts: []string{ | ||
| "test.apk", | ||
| "test_2.apk", | ||
| "test.aab", | ||
| "test_2.aab", | ||
| }, | ||
| want: []string{ | ||
| "test.aab", | ||
| "test_2.aab", | ||
| }, | ||
| }, | ||
| } | ||
| for _, tt := range tests { | ||
| t.Run(tt.name, func(t *testing.T) { | ||
| if got := filterAndroidArtifactsBy(tt.androidOutputType, tt.artifacts); !reflect.DeepEqual(got, tt.want) { | ||
| t.Errorf("filterAndroidArtifactsBy() = %v, want %v", got, tt.want) | ||
| } | ||
| }) | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.