Commit Graph

299 Commits

Author SHA1 Message Date
renovate[bot]
b591a1a8b1 Update danger/danger-js action to v12.3.3 (#3059)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 15:38:49 +02:00
renovate[bot]
4977e1f4ef Update danger/danger-js action to v12.3.2 2024-06-19 08:14:28 +00:00
Benoit Marty
463ce89a8a Fix script on CI 2024-06-14 10:27:03 +02:00
Benoit Marty
b2c570df03 Add Python script to check for invalid dependencies - keeping the existing errors to check that the CI works as expected. 2024-06-14 09:29:23 +02:00
Jorge Martin Espinosa
f3fa7e57a5 Try to workaround OOM errors and the runners dying (#3013)
* Try to workaround OOM errors and the runner dying

* Some more tweaks:

- Add `-XX:MaxMetaspaceSize` (https://github.com/gradle/gradle/issues/19750)
- Remove `-PpreDexEnable` as it's deprecated and no longer used.
- Remove `--max-workers` as gradle will automatically use the optimal amount.

* Remove `--max-workers` in recording screenshots too
2024-06-12 15:35:51 +02:00
Benoit Marty
02e42ab92f shellcheck: only fails on warnings for now. 2024-06-11 17:51:32 +02:00
Benoit Marty
1ec38573b6 shellcheck: only fails on error for now. 2024-06-11 17:50:45 +02:00
Benoit Marty
e8555d2ea7 Add shellcheck to quality checks 2024-06-11 15:22:12 +02:00
ganfra
ddc7271096 CI : try to fix the release script for fdroid 2024-06-07 13:46:42 +02:00
renovate[bot]
f789a268d0 Update danger/danger-js action to v12.3.1 2024-06-05 07:23:05 +00:00
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
Benoit Marty
81ba878687 Merge pull request #2908 from element-hq/renovate/danger-danger-js-12.x
Update danger/danger-js action to v12.3.0
2024-05-27 12:16:56 +02:00
renovate[bot]
4484a2681a Update danger/danger-js action to v12.3.0 2024-05-24 08:03:41 +00:00
Benoit Marty
e5ef7f77d9 Update GA name 2024-05-23 16:51:39 +02:00
ganfra
53d0fdfe12 CI : fix release workflow - concurrency group 2024-05-22 11:46:42 +02:00
Benoit Marty
9f5706d41e Let the CI build APKs for FDroid release. 2024-05-21 14:30:19 +02:00
Jorge Martin Espinosa
6e22f5bea3 Try to fix CI quality flow (#2880)
* Fix CI quality step:
    - Remove the `onCheck` property in the different Kover verify variants in case they caused this.
    - Try splitting quality flow per check to avoid OOM issues.
2024-05-20 12:15:43 +02:00
renovate[bot]
46107a9cff Update kotlin to v0.8.0 (#2854)
* Update kotlin to v0.8.0

* Adapt our setup to `v0.8.0`'s changes

* Make sure verification tasks run on `check` tasks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-05-17 17:07:19 +02:00
Benoit Marty
df541f6ac1 Use Python 3.12 to be able to use match structure. 2024-05-13 12:08:05 +02: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
renovate[bot]
e061ddb462 Update danger/danger-js action to v12.2.0 (#2804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 17:25:28 +02:00
Benoit Marty
c64fb6f510 Add Explicit list of supported languages, generated from Localazy data. 2024-05-06 14:51:19 +02:00
Jorge Martin Espinosa
87595c7a5f Split building the debug APK in CI (#2774)
* Split building the debug APK in CI

* Split building the debug APK in CI

* Upload only universal APK to save time
2024-04-30 18:42:30 +02:00
renovate[bot]
4548335601 Update danger/danger-js action to v12 2024-04-16 19:44:41 +00:00
renovate[bot]
3af8d0c279 Update gradle/wrapper-validation-action action to v3 2024-04-12 21:32:02 +00:00
renovate[bot]
1d6dae1d58 Update peaceiris/actions-gh-pages action to v4 2024-04-08 20:05:37 +00:00
Benoit Marty
16e35276fb Add issue template for a new Task. 2024-04-03 14:39:51 +02:00
Jorge Martin Espinosa
181e49528b Remove 'clear cache' CI flow (#2563)
It never worked as expected and keeps failing
2024-03-18 15:25:51 +01:00
Jorge Martin Espinosa
517be47397 Move Konsist tests to quality checks (#2558)
* Move `Konsist` tests to quality checks

This should also help us avoid running them for every single test task, including Kover.

* Fix upload report path filter
2024-03-15 18:03:13 +01:00
Jorge Martin Espinosa
b488cbbfb8 Test and verify coverage only on debug variant (#2556)
* Test and verify coverage only on debug variant

* Set files to upload

* Fix also nightlyReports flow
2024-03-15 15:52:33 +01:00
Jorge Martin Espinosa
00f68a0f86 Revert "Clear and generate new cache only when merging to develop" (#2550)
This reverts commit 0473c4b5f0.
2024-03-14 13:34:19 +01:00
Jorge Martin Espinosa
0473c4b5f0 Clear and generate new cache only when merging to develop (#2549)
Clearing the cache regularly doesn't work because on each new merge to develop a new cache of almost 4GB will be created and replace the 'cleared' one.

We can try doing a clean up to this cache we're about to save so it's a bit smaller.
2024-03-14 09:40:34 +01:00
Benoit Marty
a0500320b6 Use nschloe/action-cached-lfs-checkout to retrieve LFS content. 2024-03-08 13:55:58 +01:00
Benoit Marty
4c062a6188 Ensure English screenshots are publish on GitHub pages. 2024-03-08 12:05:24 +01:00
Benoit Marty
3b878ec881 Add workflow to generate world screenshots and generate GitHub page from it. 2024-03-07 14:40:28 +01:00
Benoit Marty
1b3bf575b1 Add a script to check invalid screenshot(s). 2024-03-07 13:49:58 +01:00
Benoit Marty
ca7dcee7b2 Update version in name 2024-03-07 13:49:37 +01:00
Jorge Martin Espinosa
484ae6f0e8 Add clear gradle cache flow (#2473) 2024-03-07 13:39:02 +01:00
Benoit Marty
d77fb84b60 A gradle task will be run now, so we need Java 17 and gradle setup. 2024-02-29 10:08:24 +01:00
Benoit Marty
bdcd515485 Generate screenshots for foreign languages ("de" and "fr" for now). #2454 2024-02-28 14:30:34 +01: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
renovate[bot]
b0120adc89 Update rnkdsh/action-upload-diawi action to v1.5.5 2024-02-15 11:33:40 +00:00
Benoit Marty
2e2ecae1a6 Remove verbose flag, was added to get more details about an error. 2024-02-07 10:29:18 +01:00
Benoit Marty
cebfa6560a Try to get more log from Codecov action. 2024-02-06 20:15:34 +01:00
Benoit Marty
a8123d717b Merge pull request #2326 from element-hq/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3
2024-02-01 15:43:01 +01:00
renovate[bot]
122c24e942 Update codecov/codecov-action action to v4 (#2331)
* Update codecov/codecov-action action to v4

* Add missing codecov token

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-02-01 15:27:27 +01:00