Commit Graph

327 Commits

Author SHA1 Message Date
Benoit Marty d54102d614 Merge pull request #4173 from element-hq/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.6
2025-02-03 18:42:26 +01:00
Jorge Martin Espinosa 9b5b76203f Use secret Sentry DSN value (#4210)
* Use secret Sentry DSN value.

We realised our DSN entry has been shipped along with the code and it was being used in several forks as is, resulting in wrong bug reports coming into our Sentry dashboard and making it very hard to debug actual issues in the app.
2025-01-29 13:47:06 +01:00
renovate[bot] 7f62023c2e Update rnkdsh/action-upload-diawi action to v1.5.6 2025-01-20 08:45:01 +00:00
Jorge Martin Espinosa f3466aaf7d Make Maestro run for each PR push (#4121)
- Remove the `workflow_run` configuration for the Maestro job.
- Make the 'build apk' job always run again too.
- Make sure the test results are uploaded when the Maestro job fails too (this broke somehow).
2025-01-13 21:06:59 +01:00
Jorge Martin Espinosa 271f032d95 Test using Maestro CLI + emulator instead of Cloud (#4092)
Add Maestro local CI workflow:
- Remove previous Maestro Cloud.
- Use an emulator with Pixel 7 Pro - API 35.
- Allow to record several videos in the background to verify the run.
- Upload test results.
- Allow either dispatching a new flow, running the 'build apk' job or run with a PR after the 'Build APK' flow has succeeded.
2025-01-07 14:05:14 +01:00
Benoit Marty 97f3be3dc5 Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
renovate[bot] f130df15d1 Update nschloe/action-cached-lfs-checkout action to v1.2.3 2024-12-10 15:01:25 +00:00
renovate[bot] 00ee1ce473 Update mobile-dev-inc/action-maestro-cloud action to v1.9.7 2024-11-21 11:36:48 +00:00
renovate[bot] 33ee14cf99 Update codecov/codecov-action action to v5 2024-11-14 20:09:13 +00:00
Benoit Marty 4c61e5dfa2 Remove :samples:minimal module 2024-11-14 09:06:13 +01:00
renovate[bot] d33d22d577 Update mobile-dev-inc/action-maestro-cloud action to v1.9.6 2024-11-08 20:00:19 +00:00
renovate[bot] 104358502d Update mobile-dev-inc/action-maestro-cloud action to v1.9.4 (#3820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 11:42:09 +01:00
renovate[bot] e885b58d41 chore(deps): update mobile-dev-inc/action-maestro-cloud action to v1.9.2 2024-10-10 01:02:21 +00:00
Benoit Marty 76fd9310e4 Ensure the CI compile and execute all the unit tests. 2024-10-07 17:20:40 +02:00
Benoit Marty ce811bdaed Revert "Ensure the CI compile and execute all the unit tests."
This reverts commit 60dd4db677.
2024-10-07 17:19:57 +02:00
Benoit Marty 60dd4db677 Ensure the CI compile and execute all the unit tests. 2024-10-07 17:18:53 +02:00
Jorge Martín eb78f32e8c Fix screenshot recording in CI 2024-10-04 15:53:14 +02:00
Jorge Martin Espinosa f9cdb5af70 Disable configuration cache in the CI by default (#3601) 2024-10-04 13:57:46 +02:00
Jorge Martin Espinosa 4d6b37f157 Merge unit, screenshot tests and coverage in a single CI call (#3593)
* Merge unit, screenshot tests and coverage tasks in a single CI call

* Disable gradle daemon too since it's all in a single gradle call now

* Make Kover upload the HTML reports on failure too
2024-10-03 15:38:08 +02:00
Jorge Martin Espinosa f8fa218146 Upgrade the used JDK in the project to v21 (#3582)
* Upgrade the used JDK in the project to v21

* Use it for CI too

* Centralise java language version

* Fix deprecations, tests and lint issues

* Fix coverage taking into account `@Preview` annotated code.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-03 09:38:03 +00:00
Jorge Martin Espinosa 79c17f714f Use Anvil KSP instead of the Square KAPT one (#3564)
* Use Anvil KSP instead of the Square KAPT one

* Fix several configuration cache, lint and test issues

* Allow incremental kotlin compilation in the CI

* Workaround Robolectric + Compose issue that caused `AppNotIdleException`

* Update the `enterprise` commit hash

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
renovate[bot] 856fcbcd4a Update gradle-update/update-gradle-wrapper-action action to v2 2024-09-26 18:31:03 +00:00
Benoit Marty 197fe9b2e2 Change ElementBot mail to android@element.io 2024-09-19 11:22:58 +02:00
ganfra 78d13fc03c Merge pull request #3383 from element-hq/renovate/peter-evans-create-pull-request-7.x
Update peter-evans/create-pull-request action to v7
2024-09-10 12:48:46 +02:00
Benoit Marty b7fc6261f0 Migrate license to AGPL - sh files. 2024-09-06 17:52:37 +02:00
Jorge Martin Espinosa 7e37bf4a36 Try adding a memory limit for the kotlin compiler (#3377)
* Try adding a memory limit for the kotlin compiler

* Tweak values for all flows
2024-09-04 19:33:50 +00:00
renovate[bot] f52ff61cdf Update peter-evans/create-pull-request action to v7 2024-09-03 08:18:58 +00:00
renovate[bot] 5419fa003a Update mobile-dev-inc/action-maestro-cloud action to v1.9.1 2024-09-02 15:17:25 +00:00
ganfra 475a3a2861 Release : use a different concurrency group for enterprise build. 2024-08-28 17:01:36 +02:00
Benoit Marty 1fbb36eb72 Update Gradle: Change the token used by the action so workflows are triggered in the resulting PR 2024-08-20 10:25:36 +02:00
Benoit Marty a748aa7b20 Update Gradle: add label PR-Dependencies to PR it creates. 2024-08-20 10:18:08 +02:00
Benoit Marty abd1a51453 Update Gradle: ddd workflow_dispatch 2024-08-20 09:33:37 +02:00
Benoit Marty fae13290eb Gradle update action: Use JDK 17 and skip early in forks. 2024-08-20 09:24:21 +02:00
renovate[bot] 250f0706fb Update gradle/actions action to v4 (#3265)
* Update gradle/actions action to v4

* Remove unnecessary gradle validation after action update to v4

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-08-09 15:03:14 +02:00
Jorge Martin Espinosa cbad91e4c4 Fix CI for forks (#3226)
* Try with a different condition for forks

* Skip danger in forks, the fallback token won't let it write comments in PRs anyway
2024-07-19 17:46:56 +02:00
Jorge Martin Espinosa 5eef7c13b0 Only add private SSH keys and clone submodules in the original repo (#3225) 2024-07-19 17:25:49 +02:00
Jorge Martin Espinosa b0cebf5ca0 Improve screenshot testing with ComposablePreviewScanner (#3125)
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
Benoit Marty 5218b75275 Fix Element Enterprise nightly build: towncrier is gone. 2024-07-02 14:28:59 +02:00
Benoit Marty 6c4e7ec85e Merge pull request #3025 from element-hq/feature/bma/elementEnterprise
Element enterprise (EE) foundations
2024-07-01 17:08:40 +02:00
Benoit Marty 7d3c447145 Do not clone submodules in forks. 2024-07-01 12:20:15 +02:00
Benoit Marty 790c0aa0c0 Fix typo 2024-06-27 14:00:43 +02:00
Benoit Marty 124e31933c Iterate on pr notice. 2024-06-27 12:06:59 +02:00
Benoit Marty a565a0396f Remove towncrier invocation when building nightly. 2024-06-27 11:52:38 +02:00
Benoit Marty 8a609c4ab5 Add label PR-Misc to PR created to sync SAS strings. 2024-06-27 11:43:02 +02:00
Benoit Marty e13f9affd6 Add label PR-i18n to PR created during Localazy sync. 2024-06-27 11:42:10 +02:00
Benoit Marty 44cd30233c Skip build Element Enterprise on forks. 2024-06-27 09:35:33 +02:00
Benoit Marty b6dc9a5452 Remove useless if, this workflow is not triggered when pushing the main branch. 2024-06-27 09:34:49 +02:00
Benoit Marty b345f0eb8e Run tests on Element Enterprise modules. 2024-06-26 11:59:44 +02:00
Benoit Marty 51b98aa5c4 Apply quality checks to Element Enterprise modules. 2024-06-26 11:59:43 +02:00
Benoit Marty 607599d89f Use deploy key to build Element Enterprise 2024-06-26 11:59:43 +02:00