Jorge Martin Espinosa
0bf4819de2
Try fixing OOM by changing GC and adding RAM to the kotlin compiler ( #2965 )
...
* Try fixing OOM by changing GC and adding RAM to the kotlin compiler
* Add gradle cache to build apk job in maestro flow.
- Remove unnecessary dependency in `:features:call` module.
* Fix sonar in nightly reports
* Bump heap size of nightly reports
2024-06-03 11:28:51 +02:00
Jorge Martin Espinosa
921e63680c
Bump max heap size for building the debug APK for Maestro ( #2960 )
...
* Bump max heap size for building the debug APK for Maestro
* Enable `sonar.gradle.skipCompile`
* Fix sonar job
* Bump the MaxMetaspaceSize
* Don't try to upload failed test results to codecov, it doesn't work
2024-05-31 14:44:33 +00:00
Jorge Martin Espinosa
1da674bddb
Split Maestro CI flow in 2 jobs. ( #2823 )
...
* Split Maestro CI flow in 2 jobs.
This way, if the Maestro test fails for some runtime reason we don't have to build the APK again to re-test it.
2024-05-09 10:25:53 +02:00
Jorge Martin Espinosa
31db4fa3c8
Bump CI max JVM heap size and CPU usage ( #2444 )
...
* Bump CI max JVM heap size and CPU usage
* Bump Heap size a bit more for `build`
* Bump Heap size for tests too
2024-02-27 11:26:56 +01:00
Benoit Marty
03c8a14093
Add prefix MAESTRO_ to Maestro env variable.
2024-02-22 09:29:05 +01:00
Benoit Marty
25ba857da6
Add RECOVERY_KEY to Maestro env variable.
2024-02-22 09:24:45 +01:00
renovate[bot]
a4c5bf1f6d
Update mobile-dev-inc/action-maestro-cloud action to v1.8.1
2024-02-16 12:12:29 +00:00
Benoit Marty
345b7e9ab6
Update gradle tasks and paths regarding the new gplay and fdroid flavor.
2024-01-11 21:42:04 +01:00
renovate[bot]
87213a3016
Update actions/github-script action to v7 ( #2152 )
...
* Update actions/github-script action to v7
* Fix issues with both the PR from fork welcome comment and skipping Maestro for PRs coming from forks.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-01-04 09:36:40 +01:00
Jorge Martin Espinosa
02cb2b4ba9
Restore Github PAT in record screenshots, disable Maestro for forks ( #2147 )
...
* Restore PAT for `recoverScreenshots.yml` flow.
This is needed to trigger CI jobs automatically. In the case where this is not possible (forks) a message will be added to ask the user to add an empty commit to trigger the CI.
* Add community PR notice
* Disable Maestro steps for fork PRs
2024-01-03 12:26:46 +01:00
renovate[bot]
4a95a49843
Update actions/setup-java action to v4
2023-11-29 16:04:07 +00:00
Jorge Martin Espinosa
8b5538ef7e
Run Maestro flow only then Run-Maestro label is present in a PR ( #1852 )
...
* Run Maestro only when the `Run-Maestro` label is present in a PR.
2023-11-22 15:45:52 +01:00
renovate[bot]
85ffee17e2
Update mobile-dev-inc/action-maestro-cloud action to v1.8.0
2023-11-21 13:14:21 +00:00
renovate[bot]
56b90fc8f7
Update mobile-dev-inc/action-maestro-cloud action to v1.7.0
2023-11-10 14:01:20 +00:00
renovate[bot]
dd57197f32
Update kotlin ( #1697 )
...
* Update kotlin
* Lower Sonar RAM usage, remove redundant `Dkotlin.daemon.jvm.options`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2023-11-08 12:58:14 +00:00
Jorge Martin Espinosa
bf4ce9f05a
Lower max RAM usage for gradle to avoid CI issues ( #1766 )
2023-11-08 09:45:55 +00:00
Jorge Martin Espinosa
3fc8f1aaec
Use Parallel GC and bump RAM usage ( #1734 )
...
* Use Parallel GC and bump RAM usage
* Build only `app` project in `Build APKs (debug)` flow.
* Remove redundant JNA dependency
2023-11-03 10:34:49 +01:00
Jorge Martin Espinosa
ffc9d6ab49
Only build app module for Maestro tests. ( #1727 )
...
This should save some time since the sample module would no longer be built.
2023-11-02 17:01:33 +01:00
renovate[bot]
51969a2d85
Update mobile-dev-inc/action-maestro-cloud action to v1.6.0
2023-10-06 15:47:02 +00:00
Benoit Marty
6537bc1617
Just try using actions/checkout@v4
2023-09-11 14:51:12 +02:00
renovate[bot]
dab1b0e0bf
Update actions/checkout action to v4
2023-09-04 12:50:03 +00:00
renovate[bot]
d190d057c0
Update mobile-dev-inc/action-maestro-cloud action to v1.5.0
2023-08-31 10:54:01 +00:00
Benoit Marty
54e16eae0f
No need to upload artifact in this job. This is done by the build job.
2023-07-27 23:03:40 +02:00
Benoit Marty
7f56e9e06a
Upload smaller APK to Maestro Cloud.
2023-07-21 10:28:47 +02:00
Marco Romano
8648e8ba53
Extract maptiler's map ids ( #926 )
...
Maptiler custom map ids are only useable by the account that create them. So if we hardcode them forkers won't be able to use the maps even if the bring in their own api key (because they can't access our maps with their api key).
Requires to set our map ids in `local.properties` for local development:
```
services.maptiler.lightMapId=9bc819c8-e627-474a-a348-ec144fe3d810
services.maptiler.darkMapId=dea61faf-292b-4774-9660-58fcef89a7f3
```
2023-07-20 14:29:06 +02:00
Marco Romano
de2980bec7
Add maestro test for send location ( #914 )
...
Originally part of https://github.com/vector-im/element-x-android/pull/770
It's been extracted out since it's currently blocked by our lack of maestro cloud credits.
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 14:46:56 +02:00
Marco Romano
3bc5dfa2dc
Add Maestro tests for create & join rooms ( #472 )
...
I created 2 additional test users to use them as MXID we lookup during room creation.
I.e. we will not login as those users, it's just 2 known MXIDs that we know exist so we can look them up.
- https://github.com/vector-im/element-x-android/issues/409
2023-07-04 13:33:59 +02:00
renovate[bot]
dae776311a
Update mobile-dev-inc/action-maestro-cloud action to v1.4.1
2023-06-19 11:58:55 +00:00
renovate[bot]
3a2da3aa75
Update mobile-dev-inc/action-maestro-cloud action to v1.3.3 ( #457 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-26 11:04:18 +02:00
renovate[bot]
1ae98b8f66
Update mobile-dev-inc/action-maestro-cloud action to v1.3.2
2023-05-23 08:24:56 +00:00
Jorge Martin Espinosa
27824a279a
Fix: Maestro tests fail when using settings ( #358 )
...
* Fix Maestro tests using 'Settings' to open the settings screen.
* Try to allow manually running Maestro tests.
* Also adjust logout flow.
2023-04-25 18:01:54 +02:00
Jorge Martin Espinosa
c8fcf9549b
Update the Rust SDK to v0.1.9 ( #318 )
...
* Update the Rust SDK to v0.1.7.
* Try to have the same setup for the build apk job and maestro.
* Add option to run maestro manually.
* Update to v0.1.9 (0.1.7 and 0.1.8 were broken in x86_64).
2023-04-17 17:43:21 +02:00
Jorge Martin Espinosa
afd58f1634
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Jorge Martin Espinosa
4154a96b54
Revert "Update Gradle and AGP to v8.0 ( #283 )" ( #295 )
...
This reverts commit 4e085efcf4 .
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa
4e085efcf4
Update Gradle and AGP to v8.0 ( #283 )
...
* Update dependency gradle to v8
* Handle upgrading Gradle to v8.0.2
* Update AGP to 8.0.0-RC01
* Try to set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
Benoit Marty
2aec795299
Run maestro only on pull request, and only when the pull request has been approved, to limit our usage of maestro cloud. #121
...
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-when-a-pull-request-is-approved
2023-03-10 10:24:11 +01:00
Benoit Marty
d617a9a3dc
Split APK per ABI
2023-03-01 10:26:05 +01:00
dependabot[bot]
19f68ceccd
Bump mobile-dev-inc/action-maestro-cloud from 1.2.3 to 1.3.1
...
Bumps [mobile-dev-inc/action-maestro-cloud](https://github.com/mobile-dev-inc/action-maestro-cloud ) from 1.2.3 to 1.3.1.
- [Release notes](https://github.com/mobile-dev-inc/action-maestro-cloud/releases )
- [Commits](https://github.com/mobile-dev-inc/action-maestro-cloud/compare/v1.2.3...v1.3.1 )
---
updated-dependencies:
- dependency-name: mobile-dev-inc/action-maestro-cloud
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-24 23:05:21 +00:00
dependabot[bot]
a4a6cbef60
Bump mobile-dev-inc/action-maestro-cloud from 1.2.2 to 1.2.3
...
Bumps [mobile-dev-inc/action-maestro-cloud](https://github.com/mobile-dev-inc/action-maestro-cloud ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/mobile-dev-inc/action-maestro-cloud/releases )
- [Commits](https://github.com/mobile-dev-inc/action-maestro-cloud/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: mobile-dev-inc/action-maestro-cloud
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-24 22:11:13 +00:00
dependabot[bot]
502831cd71
Bump mobile-dev-inc/action-maestro-cloud from 1.1.1 to 1.2.2
...
Bumps [mobile-dev-inc/action-maestro-cloud](https://github.com/mobile-dev-inc/action-maestro-cloud ) from 1.1.1 to 1.2.2.
- [Release notes](https://github.com/mobile-dev-inc/action-maestro-cloud/releases )
- [Commits](https://github.com/mobile-dev-inc/action-maestro-cloud/compare/v1.1.1...v1.2.2 )
---
updated-dependencies:
- dependency-name: mobile-dev-inc/action-maestro-cloud
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-20 22:11:03 +00:00
Benoit Marty
f6e2e2fa90
Fix typo
2023-01-18 16:40:53 +01:00
Benoit Marty
bba01ebaff
Allow concurrency with the build job.
2023-01-17 18:11:12 +01:00
Benoit Marty
369f520344
Rename job, add missing parameter ROOM_NAME and update TOC
2023-01-17 18:11:12 +01:00
Benoit Marty
1333ab6643
Setup Maestro and add first tests.
...
Also configure CI
2023-01-17 18:11:12 +01:00