Skip to content
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

Add workflow to run detox Android tests #7861

Closed
wants to merge 393 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
393 commits
Select commit Hold shift + click to select a range
9838c89
add android emulator
yasserfaraazkhan Mar 24, 2024
59868c8
add android emulator
yasserfaraazkhan Mar 24, 2024
2473fb4
add android emulator
yasserfaraazkhan Mar 24, 2024
695c147
add android emulator
yasserfaraazkhan Mar 24, 2024
155e94e
add android emulator
yasserfaraazkhan Mar 24, 2024
0850c79
fix app name
yasserfaraazkhan Mar 24, 2024
1f91346
fix ap path for android
yasserfaraazkhan Mar 25, 2024
f7d4247
fix apk path for android
yasserfaraazkhan Mar 25, 2024
a802d08
fix app name in .detoxrc
yasserfaraazkhan Mar 25, 2024
c0cec44
build apk from detox cmd
yasserfaraazkhan Mar 25, 2024
ca076f4
new config
yasserfaraazkhan Mar 25, 2024
b374167
new config
yasserfaraazkhan Mar 25, 2024
2c035c7
new config
yasserfaraazkhan Mar 25, 2024
52d4e4b
try detox build
yasserfaraazkhan Mar 25, 2024
bd99e78
test splits tests
yasserfaraazkhan Mar 26, 2024
5295b0e
test splits tests
yasserfaraazkhan Mar 26, 2024
3dc97c7
test splits tests
yasserfaraazkhan Mar 26, 2024
2fc80b7
test splits tests
yasserfaraazkhan Mar 26, 2024
8e6dac9
test splits tests
yasserfaraazkhan Mar 26, 2024
b187edc
test splits tests
yasserfaraazkhan Mar 26, 2024
990858a
test splits tests
yasserfaraazkhan Mar 26, 2024
f00338b
test splits tests
yasserfaraazkhan Mar 26, 2024
f17e38d
test splits tests
yasserfaraazkhan Mar 26, 2024
a7cde32
test splits tests
yasserfaraazkhan Mar 26, 2024
1b2f8f6
test splits tests
yasserfaraazkhan Mar 26, 2024
38ed245
test splits tests
yasserfaraazkhan Mar 26, 2024
3ab077d
clean up
yasserfaraazkhan Mar 26, 2024
54e9f71
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan Mar 27, 2024
39beed5
review comments
yasserfaraazkhan Apr 5, 2024
379bfa5
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan Apr 5, 2024
41da951
Merge remote-tracking branch 'origin/ios_detox_job' into add_e2e_android
yasserfaraazkhan Apr 7, 2024
489c1d8
test apk build on mac and linux -1
yasserfaraazkhan Apr 7, 2024
478c6d0
test apk build on mac and linux -2
yasserfaraazkhan Apr 7, 2024
bf6e51c
test apk build on mac and linux -3
yasserfaraazkhan Apr 7, 2024
bb854cf
test apk build on mac and linux -4
yasserfaraazkhan Apr 7, 2024
43d4a44
test apk build on mac and linux -5
yasserfaraazkhan Apr 7, 2024
30ee3b9
test apk build on mac and linux -6
yasserfaraazkhan Apr 7, 2024
a91b397
test apk build on mac and linux -7
yasserfaraazkhan Apr 7, 2024
724a2a5
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan Apr 7, 2024
be55c60
Merge branch 'main' into ios_detox_job
mattermost-build Apr 12, 2024
4a75b1e
fix file path
yasserfaraazkhan Apr 12, 2024
ac3f395
Merge branch 'main' into ios_detox_job
mattermost-build Apr 12, 2024
8820dd0
Merge remote-tracking branch 'origin/ios_detox_job' into add_e2e_android
yasserfaraazkhan Apr 12, 2024
acbc99d
test apk build on mac and linux -8
yasserfaraazkhan Apr 14, 2024
da199dd
run android tests
yasserfaraazkhan Apr 14, 2024
85ba9a6
java version 19
yasserfaraazkhan Apr 14, 2024
e0fca25
reset
yasserfaraazkhan Apr 14, 2024
ea3897f
remove cache
yasserfaraazkhan Apr 14, 2024
d06a531
run android tests
yasserfaraazkhan Apr 14, 2024
6af0d05
run android tests
yasserfaraazkhan Apr 14, 2024
422c757
run android tests
yasserfaraazkhan Apr 14, 2024
7b6635b
run android tests
yasserfaraazkhan Apr 14, 2024
74f21d2
increase JVM
yasserfaraazkhan Apr 14, 2024
8b79a4d
increase JVM
yasserfaraazkhan Apr 14, 2024
046c2ec
edit generate file
yasserfaraazkhan Apr 16, 2024
0658919
review comments
yasserfaraazkhan Apr 16, 2024
e8d3811
add secrets
yasserfaraazkhan Apr 16, 2024
f90c010
Merge remote-tracking branch 'origin/ios_detox_job' into add_e2e_android
yasserfaraazkhan Apr 16, 2024
4147996
try creating avd
yasserfaraazkhan Apr 16, 2024
b1f5146
fix report
yasserfaraazkhan Apr 16, 2024
ea540d0
try creating avd
yasserfaraazkhan Apr 16, 2024
ee79ab2
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan Apr 23, 2024
3c9cf51
fix e2e test report
yasserfaraazkhan Apr 23, 2024
a94a258
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan Apr 25, 2024
a9896c5
review comments
yasserfaraazkhan Apr 30, 2024
a7f3991
Merge remote-tracking branch 'origin/ios_detox_job' into add_e2e_android
yasserfaraazkhan Apr 30, 2024
8ac208d
fix report
yasserfaraazkhan Apr 30, 2024
b035ade
Merge remote-tracking branch 'origin/ios_detox_job' into add_e2e_android
yasserfaraazkhan Apr 30, 2024
74c5dc8
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan May 2, 2024
e0a7796
fix run summary in the reports channel
yasserfaraazkhan May 2, 2024
49518ef
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan May 15, 2024
b7c0db1
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan May 30, 2024
e506654
E2E Template workflow (#7932)
yasserfaraazkhan May 31, 2024
75b74df
add triggers
yasserfaraazkhan May 31, 2024
48f4def
Add run types
yasserfaraazkhan May 31, 2024
f1dbbf3
Test E2E triggers (#7982)
yasserfaraazkhan May 31, 2024
001d3f3
Provide device option to avoide failures due to wrong input
yasserfaraazkhan May 31, 2024
3864784
let jobs pass with test failures
yasserfaraazkhan May 31, 2024
7264340
remove input.github_sha
yasserfaraazkhan Jun 1, 2024
1e851bf
circelci service to run avd
yasserfaraazkhan Jun 1, 2024
6a573fe
create avd
yasserfaraazkhan Jun 1, 2024
f53e5e6
create avd
yasserfaraazkhan Jun 1, 2024
768a9a8
test running AVD
yasserfaraazkhan Jun 3, 2024
efc2dce
test running AVD
yasserfaraazkhan Jun 3, 2024
bb7c71e
test running AVD
yasserfaraazkhan Jun 3, 2024
25080e3
test running AVD - test run 1
yasserfaraazkhan Jun 3, 2024
c113f28
test running AVD - test run 2
yasserfaraazkhan Jun 3, 2024
b408c97
test running AVD - test run 3
yasserfaraazkhan Jun 3, 2024
f5388ad
test running AVD - test run 4
yasserfaraazkhan Jun 3, 2024
6a7a5d7
test set up java - test run 5
yasserfaraazkhan Jun 3, 2024
ceb4ca5
test remove creating android sys images - test run 6
yasserfaraazkhan Jun 3, 2024
c67a978
test remove creating android sys images - test run 7
yasserfaraazkhan Jun 3, 2024
11043a5
build and run app -test 1
yasserfaraazkhan Jun 3, 2024
f6f6f59
build and run app -test 1
yasserfaraazkhan Jun 3, 2024
f637662
run test -1
yasserfaraazkhan Jun 3, 2024
11f0b7e
run test -2
yasserfaraazkhan Jun 3, 2024
74672db
separate template for android
yasserfaraazkhan Jun 3, 2024
19a87ec
Merge remote-tracking branch 'origin/ios_detox_job' into add_e2e_android
yasserfaraazkhan Jun 3, 2024
81e4fcd
test combined workflows
yasserfaraazkhan Jun 3, 2024
2440c07
combined ios and android tests on PR
yasserfaraazkhan Jun 3, 2024
4fa0984
combined ios and android tests on PR
yasserfaraazkhan Jun 3, 2024
add7c47
generate spec changes
yasserfaraazkhan Jun 4, 2024
e012442
review comment
yasserfaraazkhan Jun 4, 2024
0a068d2
Merge remote-tracking branch 'origin/main' into ios_detox_job
yasserfaraazkhan Jun 4, 2024
1c8f180
Merge remote-tracking branch 'origin/ios_detox_job' into add_e2e_android
yasserfaraazkhan Jun 4, 2024
da38041
combine build and test mode
yasserfaraazkhan Jun 4, 2024
34c5342
android single build test-1
yasserfaraazkhan Jun 4, 2024
d57f2f0
Merge remote-tracking branch 'origin/main' into add_e2e_android
yasserfaraazkhan Jun 4, 2024
f1353f9
android single build test-1
yasserfaraazkhan Jun 4, 2024
b8fb230
android single build test-1
yasserfaraazkhan Jun 4, 2024
6e17d01
improvements
yasserfaraazkhan Jun 5, 2024
bd972bb
test apk run
yasserfaraazkhan Jun 7, 2024
35da6d8
test apk run -2
yasserfaraazkhan Jun 7, 2024
11b9d62
test apk run -
yasserfaraazkhan Jun 7, 2024
17e94dc
test apk run -3
yasserfaraazkhan Jun 7, 2024
4d8adf8
test apk run -4
yasserfaraazkhan Jun 7, 2024
0360160
test on mac-1
yasserfaraazkhan Jun 7, 2024
0ff04dd
test images
yasserfaraazkhan Jun 7, 2024
1908bd4
try macos 13
yasserfaraazkhan Jun 7, 2024
851606f
test avd
yasserfaraazkhan Jun 7, 2024
16c93d6
docker android
yasserfaraazkhan Jun 10, 2024
6642da8
check with google/android repo
yasserfaraazkhan Jun 10, 2024
4689bf7
creat avd from reactivecircus
yasserfaraazkhan Jun 10, 2024
f48bcd6
fix api-level
yasserfaraazkhan Jun 11, 2024
cdee012
increase cores
yasserfaraazkhan Jun 11, 2024
d03ba0c
test force create
yasserfaraazkhan Jun 12, 2024
b537c0a
create AVD
yasserfaraazkhan Jun 12, 2024
83e338c
kill emulators
yasserfaraazkhan Jun 12, 2024
f959533
test another job ubuntu
yasserfaraazkhan Jun 12, 2024
d1cbcc2
remove caching
yasserfaraazkhan Jun 12, 2024
b6074ff
force creating emulator
yasserfaraazkhan Jun 12, 2024
ed90de7
new server
yasserfaraazkhan Jun 14, 2024
4c5e5a8
check if android runs on macos-14
yasserfaraazkhan Jun 20, 2024
1ca3f18
pixel_4 - API-29
yasserfaraazkhan Jun 20, 2024
b9984f3
New way to launch on macos-13
yasserfaraazkhan Jun 20, 2024
ebf8753
increase memory
yasserfaraazkhan Jun 21, 2024
241891a
test loop
yasserfaraazkhan Jun 21, 2024
fa1b290
test launch
yasserfaraazkhan Jun 21, 2024
1a9bd4b
test emulatore launch
yasserfaraazkhan Jun 21, 2024
1b13c08
test launch
yasserfaraazkhan Jun 21, 2024
60b0fcf
launch emulator
yasserfaraazkhan Jun 21, 2024
455e99f
test emulator
yasserfaraazkhan Jun 21, 2024
e98cb07
test build job
yasserfaraazkhan Jun 21, 2024
7e274a7
update java
yasserfaraazkhan Jun 21, 2024
bd207a3
test launch
yasserfaraazkhan Jun 21, 2024
e1ff7e8
test ubuntu avd creation
yasserfaraazkhan Jun 23, 2024
a78b8e5
add needs
yasserfaraazkhan Jun 23, 2024
96de76b
node install
yasserfaraazkhan Jun 23, 2024
e5ac094
mac os
yasserfaraazkhan Jun 23, 2024
e149dfd
test emu
yasserfaraazkhan Jun 24, 2024
02dff03
java 8
yasserfaraazkhan Jun 24, 2024
9c51805
test enulator
yasserfaraazkhan Jun 24, 2024
3213582
test emu
yasserfaraazkhan Jun 24, 2024
e48b265
test script
yasserfaraazkhan Jun 24, 2024
a1a7a36
macos 12
yasserfaraazkhan Jun 24, 2024
d6d2a74
install jax
yasserfaraazkhan Jun 24, 2024
a0f86fd
java 8
yasserfaraazkhan Jun 25, 2024
bc2f46f
test ubuntu
yasserfaraazkhan Jun 25, 2024
a171397
tt
yasserfaraazkhan Jun 25, 2024
4b8a2a2
capture screen shot
yasserfaraazkhan Jun 25, 2024
e0df643
screen capture
yasserfaraazkhan Jun 25, 2024
24d1542
build-macos-latest
yasserfaraazkhan Jun 26, 2024
1c70bdd
test xml schema fix
yasserfaraazkhan Jun 26, 2024
c0ef519
test-snapshot
yasserfaraazkhan Jul 17, 2024
14053dd
test-snapshot-1
yasserfaraazkhan Jul 17, 2024
f8aa2b7
try running tests
yasserfaraazkhan Jul 17, 2024
ad17272
capture screen after tests fail
yasserfaraazkhan Jul 17, 2024
d588586
try on ubuntu
yasserfaraazkhan Jul 17, 2024
52626ed
try on ubuntu 1
yasserfaraazkhan Jul 17, 2024
32377f3
try on ubuntu 2
yasserfaraazkhan Jul 17, 2024
d43cf3d
try on ubuntu 3
yasserfaraazkhan Jul 17, 2024
3d55f7b
wait for emulator to boot
yasserfaraazkhan Jul 30, 2024
a785daa
add device pixel_6
yasserfaraazkhan Jul 30, 2024
c43c8f8
check system images
yasserfaraazkhan Jul 30, 2024
7c9ed60
add device pixel_6 in detoxrc.json
yasserfaraazkhan Jul 30, 2024
4c83e28
add new workflow
yasserfaraazkhan Jul 30, 2024
55f485c
remove xvfb service
yasserfaraazkhan Jul 30, 2024
ddd27c9
try reactivecircus/android-emulator-runner@v2
yasserfaraazkhan Aug 1, 2024
a9d21c1
add pixel_6
yasserfaraazkhan Aug 8, 2024
6d47ff2
test headless
yasserfaraazkhan Aug 26, 2024
9427842
test headless test -1
yasserfaraazkhan Aug 26, 2024
66fbf4b
test avd creation
yasserfaraazkhan Aug 26, 2024
076fac6
test apk install
yasserfaraazkhan Aug 27, 2024
56bcf01
create AVD from script
yasserfaraazkhan Aug 27, 2024
5bfd426
create AVD from script
yasserfaraazkhan Aug 27, 2024
3b7cfe9
create AVD from script
yasserfaraazkhan Aug 27, 2024
775d02e
macos 14
yasserfaraazkhan Aug 27, 2024
456f05b
delete test workflow
yasserfaraazkhan Aug 27, 2024
c4aa79d
use ASOP
yasserfaraazkhan Sep 5, 2024
941530c
Build apk
yasserfaraazkhan Sep 5, 2024
f8ce61c
download apk
yasserfaraazkhan Sep 5, 2024
fe3ae4b
install sdk
yasserfaraazkhan Sep 5, 2024
e8dfa0a
download sdkmanager
yasserfaraazkhan Sep 5, 2024
848b409
accept license
yasserfaraazkhan Sep 5, 2024
3fa33a7
accept license: fix broken pipe
yasserfaraazkhan Sep 5, 2024
37b5982
accept license: fix broken pipe
yasserfaraazkhan Sep 5, 2024
f5860c6
check unzipped files
yasserfaraazkhan Sep 6, 2024
1186b32
boot the emulator
yasserfaraazkhan Sep 6, 2024
e3b09de
creat and boot emu
yasserfaraazkhan Sep 6, 2024
b7f9f27
creat and boot emu
yasserfaraazkhan Sep 6, 2024
748cc83
creat and boot emu
yasserfaraazkhan Sep 6, 2024
9d51b85
start adb server
yasserfaraazkhan Sep 6, 2024
32db4ec
fix qemu error
yasserfaraazkhan Sep 6, 2024
58034e7
fix qemu error
yasserfaraazkhan Sep 6, 2024
72d5383
fix qemu error
yasserfaraazkhan Sep 6, 2024
0f3ff8a
wait for emu
yasserfaraazkhan Sep 6, 2024
f3ce3b1
install platform emu
yasserfaraazkhan Sep 8, 2024
913ead9
install platform emu
yasserfaraazkhan Sep 8, 2024
e82c749
install platform tools
yasserfaraazkhan Sep 8, 2024
20e10a3
fix path
yasserfaraazkhan Sep 8, 2024
5f4cc86
start from script
yasserfaraazkhan Sep 8, 2024
ef5f778
install sdkmanager
yasserfaraazkhan Sep 8, 2024
a9cfa99
install sdkmanager
yasserfaraazkhan Sep 8, 2024
1713f14
install sdkmanager path fix
yasserfaraazkhan Sep 9, 2024
9140516
install sdkmanager path fix
yasserfaraazkhan Sep 9, 2024
b8296b8
install sdkmanager path fix
yasserfaraazkhan Sep 9, 2024
93051fa
install sdkmanager path fix
yasserfaraazkhan Sep 9, 2024
b34c981
install sdkmanager path fix
yasserfaraazkhan Sep 9, 2024
0f74265
path fix
yasserfaraazkhan Sep 9, 2024
35eb2c2
path fix
yasserfaraazkhan Sep 9, 2024
c39729a
remove sdk installation
yasserfaraazkhan Sep 9, 2024
c03e847
sdkmanager path
yasserfaraazkhan Sep 9, 2024
45f7901
sdkmanager path
yasserfaraazkhan Sep 9, 2024
62a0ced
sdkmanager path
yasserfaraazkhan Sep 9, 2024
f7e23cb
sdkmanager path
yasserfaraazkhan Sep 9, 2024
7ceafe4
sdkmanager path
yasserfaraazkhan Sep 9, 2024
9afb801
locate sdkmanager
yasserfaraazkhan Sep 9, 2024
1d80f4d
setup sdkpath
yasserfaraazkhan Sep 9, 2024
e857d26
boot device
yasserfaraazkhan Sep 9, 2024
88ffc7a
add emulator to the path
yasserfaraazkhan Sep 9, 2024
16beb83
add emulator to the path
yasserfaraazkhan Sep 9, 2024
8fdbab4
boot emu
yasserfaraazkhan Sep 9, 2024
5b1ea85
wait longer
yasserfaraazkhan Sep 9, 2024
958c9f5
increase cores
yasserfaraazkhan Sep 9, 2024
ddb0c3c
handle boot gracefully
yasserfaraazkhan Sep 9, 2024
f6ed5f5
improve boot
yasserfaraazkhan Sep 9, 2024
b825335
improve boot
yasserfaraazkhan Sep 9, 2024
0b991b9
test running emulator
yasserfaraazkhan Sep 9, 2024
82b59e2
test running emulator
yasserfaraazkhan Sep 9, 2024
07ebe88
test running emulator
yasserfaraazkhan Sep 9, 2024
410580b
test running emulator
yasserfaraazkhan Sep 9, 2024
c7cb904
test running emulator
yasserfaraazkhan Sep 9, 2024
c7e8a6f
test running e2e tests
yasserfaraazkhan Sep 17, 2024
aa5b3db
test running e2e tests
yasserfaraazkhan Sep 17, 2024
edf0114
accept licenses in CI
yasserfaraazkhan Sep 17, 2024
a6eb366
accept licenses in CI
yasserfaraazkhan Sep 17, 2024
739a81b
accept licenses in CI
yasserfaraazkhan Sep 17, 2024
05bda77
accept licenses in CI
yasserfaraazkhan Sep 17, 2024
df9cfc5
test -1
yasserfaraazkhan Sep 17, 2024
445e4fe
test -2
yasserfaraazkhan Sep 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/prepare-android-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:

- name: ci/checkout-private-repo
if: ${{ inputs.sign == 'true' }}
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: mattermost/mattermost-mobile-private
token: ${{ env.MATTERMOST_BUILD_GH_TOKEN }}
Expand Down
Loading
Loading