Commit Graph

183 Commits

Author SHA1 Message Date
renovate[bot] ee901c70a2 Update gradle/gradle-build-action action to v2.8.1 (#1426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 21:10:42 +02:00
ganfra 46a3446e0c Merge pull request #1421 from vector-im/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.2
2023-09-25 21:01:32 +02:00
renovate[bot] 870cd040d0 Update rnkdsh/action-upload-diawi action to v1.5.2 2023-09-25 08:03:26 +00:00
renovate[bot] ea0103dccf Update danger/danger-js action to v11.3.0 2023-09-22 16:42:07 +00:00
Benoit Marty 5c4da4b26e Revert "Update codecov/codecov-action action to v4" 2023-09-15 09:19:30 +02:00
renovate[bot] 0e2a5e38cc Update codecov/codecov-action action to v4 2023-09-14 15:39:32 +00:00
Benoit Marty 3d0c5e729b Merge pull request #1220 from vector-im/renovate/actions-checkout-4.x
Update actions/checkout action to v4
2023-09-11 16:41:30 +02:00
Benoit Marty 995d4e9f6d Just try using actions/checkout@v4 2023-09-11 14:51:12 +02:00
jonnyandrew f214493c9d [Rich text editor] Integrate rich text editor library (#1172)
* Integrate rich text editor

* Also increase swapfile size in test CI

Fixes issue where screenshot tests are terminated due to lack of CI
resources.

See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-07 15:21:29 +00:00
Jorge Martin Espinosa e19b27badf De-duplicate sonar job in the CI (#1238)
* De-duplicate sonar job in the CI

* Remove workaround for `src/*/kotlin` folders

* Downgrade the sonarqube plugin version

* Try increasing workers for this job, since it's quite slow

* Warn about regression in latest sonarqube release

* Forbid backups to prevent cryptographic issues
2023-09-07 11:19:13 +00:00
renovate[bot] ff3fd793ff Update actions/checkout action to v4 2023-09-04 12:50:03 +00:00
renovate[bot] d4ae0ec226 Update mobile-dev-inc/action-maestro-cloud action to v1.5.0 2023-08-31 10:54:01 +00:00
renovate[bot] 6596f5ec48 Update gradle/gradle-build-action action to v2.8.0 2023-08-28 19:24:00 +00:00
renovate[bot] 18f82c7329 Update gradle/gradle-build-action action to v2.7.1 2023-08-19 02:06:53 +00:00
Benoit Marty b7f1a7765a Merge pull request #1073 from vector-im/renovate/app.cash.paparazzi-1.x
Update plugin paparazzi to v1.3.1
2023-08-18 15:07:51 +02:00
Benoit Marty 5d91513c32 Remove failures artifact, the content is included in tests-and-screenshot-tests-results artifact (only one artifact to download). 2023-08-18 09:13:19 +02:00
Benoit Marty 90351586ef Remove report artifact, it is included in tests-and-screenshot-tests-results artifact. 2023-08-18 09:13:19 +02:00
Benoit Marty 8fabf6bc8d Paparazzi 1.3.1 exports failure deltas from PROJECT_ROOT/out/failures/ to BUILD_DIR/paparazzi/failures/. 2023-08-18 09:13:19 +02:00
Benoit Marty cd1179014e Merge pull request #1071 from vector-im/chore/jme/revert-merge-queue-optimizations
Revert merge queue CI optimizations
2023-08-17 20:52:16 +02:00
Jorge Martín ccacb118a1 Revert merge queue CI optimizations 2023-08-17 17:17:03 +02:00
renovate[bot] 3a1e111b26 Update nschloe/action-cached-lfs-checkout action to v1.2.2 2023-08-10 08:26:25 +00:00
renovate[bot] 456bc09edf Update danger/danger-js action to v11.2.8 (#1008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 09:47:09 +00:00
Jorge Martín 99909e9b9f Fix concurrentcy group for building develop with a matrix of variants 2023-08-02 11:20:25 +02:00
Jorge Martín a6d6869e55 Fix concurrentcy group for building develop 2023-08-02 11:19:28 +02:00
Jorge Martin Espinosa b14c741422 CI improvements (#1012) 2023-07-31 21:05:28 +02:00
Jorge Martin Espinosa ca3e284991 Try to skip extra checks in the CI for up to date PRs in merge queue. (#1010)
* Try to skip extra checks in the CI for up to date PRs in merge queue.

* Try to simplify check

* Remove expression syntax from `if`s
2023-07-31 15:19:51 +00:00
Jorge Martin Espinosa 9e85c74c9c Try to fix using the merge queue (#1009) 2023-07-31 13:35:38 +00:00
Benoit Marty d2bb8817a3 No need to upload artifact in this job. This is done by the build job. 2023-07-27 23:03:40 +02:00
renovate[bot] 145300fd89 Update danger/danger-js action to v11.2.7 (#961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 07:02:07 +02:00
renovate[bot] 61a3705c2e Update gradle/gradle-build-action action to v2.7.0 (#958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 08:07:48 +02:00
Benoit Marty 3622623fa1 GitHub does not like comment like this. Just remove them. 2023-07-21 16:33:02 +02:00
Benoit Marty f0874fd773 Revert change from #941, upload APK to Firebase App Distribution for now.
We need a matching and released PlayStore application to be able to upload an AAB, and we do not have that for now.
2023-07-21 16:19:16 +02:00
Benoit Marty b20448bf08 Merge pull request #935 from vector-im/feature/bma/noWarnings
Code quality: warnings are errors and enable more Detekt rules.
2023-07-21 15:52:05 +02:00
Benoit Marty f72e9fb7c2 Add missing env vars, now that we are building the APK in this task. 2023-07-21 12:19:29 +02:00
Benoit Marty f431e76d29 Upload smaller APK to Maestro Cloud. 2023-07-21 10:28:47 +02:00
Benoit Marty 5fea82a23c Nightly build: upload the application bundle to Firebase instead of the universal APK. 2023-07-21 10:24:11 +02:00
Benoit Marty 089fc8b4dd Ci will not ignore compilation warnings. 2023-07-20 15:29:47 +02:00
Marco Romano e8e4542a75 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
Benoit Marty ec79c44324 Need JDK 17 2023-07-20 11:29:55 +02:00
Benoit Marty 34ced242f8 Add workflow to create app bundle. 2023-07-20 11:08:09 +02:00
Benoit Marty cbe1c05c0c Do not build main branch in this workflow. 2023-07-20 11:07:08 +02:00
Marco Romano 8986cf5669 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
Chris Smith 1d99189955 Merge pull request #886 from vector-im/feature/cjs/location-api-key 2023-07-18 15:32:54 +01:00
Benoit Marty b6e35de3db Merge pull request #898 from vector-im/feature/bma/fixOnBoardingScreen
Fix on boarding screen
2023-07-18 15:55:13 +02:00
Benoit Marty e831b621c9 Ensure previous screenshots are deleted. Sometimes, the registered task is not trigger, I do not know why... 2023-07-18 14:56:48 +02:00
renovate[bot] e7a615ea71 Update gradle/gradle-build-action action to v2.6.1 (#893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 12:25:18 +02:00
Chris Smith 9ef8b36f51 Location sharing: don't hardcode API key
In an effort to make it easier for forks to (a) use their own
API keys (b) change map styles or maybe even providers, move
the MapTiler key out of the source code and pass it in via
env var or property.

Also refactor the utility classes slightly to keep all the URL
related functions together, to reduce the chance of collisions
when maintaining such forks.
2023-07-17 16:09:53 +01:00
Benoit Marty a3150542fa Merge pull request #881 from vector-im/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.1
2023-07-17 16:11:37 +02:00
Jorge Martin Espinosa 8865cc2b57 Disable Paparazzi tasks when Kover is running. (#884)
* Disable Paparazzi tasks when Kover is running.

It allows us to split the test jobs between unit tests, screenshot test and coverage reports.

* Move Sonar upload to the quality workflow, since we have no lint info in tests.
2023-07-17 10:55:51 +02:00
renovate[bot] bff5c9874f Update rnkdsh/action-upload-diawi action to v1.5.1 2023-07-16 21:03:31 +00:00