Commit graph

325 commits

Author SHA1 Message Date
ariskotsomitopoulos
34efd91683 Use 1 core for the emulator 2022-01-07 11:07:21 +02:00
ariskotsomitopoulos
41bf1ccc07 Remove adb timeout 2022-01-07 11:03:54 +02:00
ariskotsomitopoulos
52c8a138d3 fix typo 2022-01-06 00:38:05 +02:00
ariskotsomitopoulos
33a4eac7d2 - Fix github actions ktlint reports
- Publish results on PR via commenting
- Support for all modules along with tests
- Code format & emoticons
2022-01-06 00:26:47 +02:00
ariskotsomitopoulos
261030f51e - Fix integration tests (still not perfect while github actions are very very limited for that)
- Split them in msdk and app test along with multiple smaller steps.
- Mark the not working tests with @Ignore so that they will not run neither local or on github actions
- Add user friendly comment on PR to view the results
2022-01-05 23:42:57 +02:00
Florian Renaud
eb9fc579d3 Fix malformed comments and code review 2022-01-05 09:19:59 +00:00
Florian Renaud
60ecd50e61 Skip issue triage actions in forks 2022-01-05 09:19:59 +00:00
Benoit Marty
54d76af54b
Revert "Skip issue triage GitHub actions in forks" 2022-01-03 15:17:34 +01:00
Florian Renaud
58f7c83f4e Skip issue triage actions in forks 2021-12-17 17:19:44 +01:00
Benoit Marty
a40e60ba8f Merge branch 'develop' into feature/bma/posthog 2021-12-13 23:18:14 +01:00
Ekaterina Gerasimova
8fefee9b02 Fix graphql warning in issue automation workflow
Fixes #4671
2021-12-10 08:52:08 +00:00
daniellekirkwood
2c8cc3e16d
Add automation to move messages bubbles issues to the message bubbles board (#4667)
* Add automation to move message bubbles issues to bubbles board

* Add changelog entry

Changelog entry to note new automation to move message bubbles issues to message bubbles board
2021-12-09 15:20:10 +00:00
Ekaterina Gerasimova
ed6e7a12ad Remove automation for new Delight board
There's no Android developer on the Delight team right now, so it makes
sense to redirect Spaces issues to the Android team.

Covered by the 4617.misc changelog entry.
2021-12-09 11:26:09 +00:00
Ekaterina Gerasimova
ad1fbab956 Remove automation for old Delight board
Covered by 4617.misc changelog entry
2021-12-09 11:26:09 +00:00
Benoit Marty
673cbb29de Merge branch 'develop' into feature/bma/posthog 2021-12-07 14:26:31 +01:00
Ekaterina Gerasimova
1aa532178e Issue workflow: Split out spaces jobs for new and old boards 2021-12-03 10:01:25 +00:00
Ekaterina Gerasimova
c89c0dcbd2 Issue workflow: fix filtering for Design issues 2021-12-03 10:01:25 +00:00
Ekaterina Gerasimova
3778603c4d Issue workflow: improve naming for jobs 2021-12-03 10:01:25 +00:00
Benoit Marty
5ab18dfd6d Add automation to import the plan 2021-12-02 14:10:03 +01:00
Adam Brown
b9e7357e04 using Pixel 5 profile and ensuring jobs stay marked as failed after collecting screenshots and logs 2021-11-18 17:49:35 +00:00
yostyle
bf3bf6a509 Disable sync data jobs in forks 2021-11-18 17:03:37 +01:00
Ekaterina Gerasimova
36c312b1a6 Add issue workflow automation for Threads
Fixes #4461

Covered by changelog entry 4435.misc
2021-11-17 09:41:34 +00:00
Ekaterina Gerasimova
baed0dcb3e Move P1 issues to app team and crypto boards 2021-11-16 11:09:12 +00:00
Benoit Marty
087a987f88
Merge pull request #4443 from kittykat/actions
Actions: fix up triage conditionals
2021-11-15 09:51:45 +01:00
Adam Brown
9152c39c73 adding logcat output to the sanity artifacts 2021-11-10 17:07:10 +00:00
Adam Brown
968d8e413a using adb root for pulling off emulator files as per https://github.com/ReactiveCircus/android-emulator-runner/issues/102#issuecomment-963866536
- also uses emulated directory instead of sdcard
2021-11-10 17:07:10 +00:00
Adam Brown
992c3d8a13 updating emulator to use api 29 due to storage differences 2021-11-10 17:07:10 +00:00
Adam Brown
0ab5734c53 using single line for the emulator script, doesn't seem to support multiline 2021-11-10 17:07:10 +00:00
Adam Brown
70dd3e5cb9 adding missing indentation 2021-11-10 17:07:10 +00:00
Adam Brown
918042c231 adding github action emulator optimisations 2021-11-10 17:07:10 +00:00
Adam Brown
0a1f4dd69f adding screenshot pulling and storing as part of the sanity workflow 2021-11-10 17:07:10 +00:00
Ekaterina Gerasimova
e923d94d6c Actions: fix up triage conditionals
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-10 13:03:01 +00:00
Ekaterina Gerasimova
270d55dfb4 Actions: move Voice message issues to their board
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Ekaterina Gerasimova
5b414b848e Add more actions to move issues around
Rename triage-needs-info to triage-move-labelled, add workflows for
Design, Delight (old and new board) and X-Needs-Info

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Ekaterina Gerasimova
c55d1117e5 Actions: reference commits rather than tags
It's better to reference commits because the tags can be moved to
reference other commits.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Adam Brown
9e9698520a updating synapse start script to also override the homeserver url and fixing wrong argument placement 2021-11-08 15:18:29 +00:00
Adam Brown
75f8023cb3 running the sanity test on the hardware accelerating osx runner, will drastically reduce the run time and be more reliable 2021-11-08 15:14:18 +00:00
Adam Brown
48ebb8e416 scheduling the sanity tests to run nightly instead of via push 2021-11-08 15:11:25 +00:00
Ekaterina Gerasimova
59a3b84c1d Add issue triage automation
Fixes #4250

Move new issues into incoming column and move X-Needs-Info into Need info column on the vector-im/element-android/projects/4 board

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-10-15 09:20:31 +01:00
ariskotsomitopoulos
2b2f5be83e Fix typo in filename 2021-10-12 15:51:27 +03:00
ariskotsomitopoulos
dcf98d93e6 Remove BeautifulSoup4 dependency 2021-10-12 11:37:00 +03:00
ariskotsomitopoulos
6cee8871f3 Create a new cron Github Action workflow for syncing emojis & sas strings. It will run every Monday at 00:00. It will open two PRs and will be able to optimal update/delete them according to changes with the base branch 2021-10-11 17:51:52 +03:00
Benoit Marty
5fdaa45246 klint -> ktlint 2021-10-07 10:36:38 +02:00
Benoit Marty
03bdcee3ad Install ktlint plugin 2021-10-01 13:31:15 +02:00
Aris Kotsomitopoulos
e8009953d6
Preventing Dependabot to publish unit test results 2021-09-24 11:14:57 +03:00
ariskotsomitopoulos
3447c05b00 Reduce the number of api-level in integration tests until they can run properly in CI/CD 2021-09-14 19:17:24 +03:00
ariskotsomitopoulos
c9b294f737 Remove unused commented lines 2021-09-14 10:45:29 +03:00
ariskotsomitopoulos
fe1d9aa589 - Optimize build time for local builds
- Enhance CI/CD workflows (7GB Ram, 2CPU) by adding custom gradle arguments to properly run
- Add unit test UI comment representation plugin
2021-09-13 19:03:35 +03:00
Benoit Marty
75daeb7699 Add sanity test GitHub action
API 28 for now
2021-09-03 17:02:14 +02:00
Benoit Marty
99cb51af6b Test on intermediate API levels 2021-09-03 17:02:14 +02:00
Benoit Marty
08538153a5 Temporary add build of Android tests, which cannot be run on the CI right now, but they need to at least compile 2021-09-03 10:29:22 +02:00
Benoit Marty
cdd3006094 Lint for Gplay and Fdroid release APK
More issues can be detected.
2021-09-03 09:42:53 +02:00
Benoit Marty
ec6bae6b1e Lint now check all the modules, but is does not check all the variants. Let's keep it like that for now
https://developer.android.com/studio/releases/gradle-plugin#running_lint_on_default_variant_only
2021-09-02 10:43:33 +02:00
Arun Babu Neelicattu
1eacc09482
ci: disable fail-fast for integration tests 2021-08-03 16:12:51 +02:00
Benoit Marty
9e795894be Change command to run connected tests 2021-05-19 18:16:05 +02:00
Benoit Marty
c437ed394d No need to build Android test, it's done by integration workflow 2021-05-19 17:48:12 +02:00
Benoit Marty
974c7ef8d9 Run test on API 21 and API 30, and disable rate limiting on Synapse 2021-05-19 17:45:47 +02:00
Benoit Marty
fa6aaca67a Fix some typo 2021-05-19 17:38:32 +02:00
Benoit Marty
b5f7abda48 master -> main 2021-05-19 17:26:38 +02:00
Benoit Marty
619e8cca37 typo 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
7db5c66f2c ci: fix integration test config api-level 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
33b2100842 ci: fix integration test config syntax 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
112a160725 ci: enable android emulator 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
d926890c79 ci: ignore warnings for integration tests 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
1fac4dfe3e ci: clean up naming 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
62ca8d87dc ci: setup synapse server manually 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
c39a8caaed ci: disable integration health checks 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
bebd84d1f5 ci: add integration tests 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
f0adf29d12 ci: split out apk linting 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
209a9b09c7 ci: fix typo in naming 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
55912ef49d ci: cache debug apk linting reports on failure 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
467d3e764e ci: do not fail fast on debug apk builds 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
ff1d8c310e ci: add initial github actions pipelines 2021-05-19 17:26:38 +02:00
Cristian Greco
62f620f79b Add workflow for Update Gradle Wrapper Action.
This action keeps Gradle Wrapper up-to-date to the latest release. It
will run every day at midnight (UTC) and create a pull request if a new
Gradle version is available. The updated Wrapper script is validated
(with checksum verification) during the update process, and the Wrapper
is setup so that it will validate the Gradle binary itself on first run
of the new version.

Signed-off-by: Cristian Greco <cristian@regolo.cc>
2020-09-24 11:19:28 +02:00
Tilo Spannagel
861b379992 Official Gradle Wrapper Validation Action
See: https://github.com/gradle/wrapper-validation-action

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-08-18 00:49:17 +02:00