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>
2 weeks ago
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
1 month ago
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>
2 months ago
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
3 months ago
Jorge Martin Espinosa
5eef7c13b0
Only add private SSH keys and clone submodules in the original repo ( #3225 )
3 months ago
Benoit Marty
7d3c447145
Do not clone submodules in forks.
4 months ago
Benoit Marty
b345f0eb8e
Run tests on Element Enterprise modules.
4 months ago
Jorge Martin Espinosa
c9e0db26d8
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
4 months ago
Jorge Martin Espinosa
58c05ade65
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
5 months ago
Jorge Martin Espinosa
bb672d3bc7
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
5 months ago
renovate[bot]
bb96eea4bd
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>
5 months ago
Jorge Martin Espinosa
810c0ed8f3
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
7 months ago
Jorge Martin Espinosa
179579d5e5
Revert "Clear and generate new cache only when merging to `develop`" ( #2550 )
...
This reverts commit ab504a6095
.
7 months ago
Jorge Martin Espinosa
ab504a6095
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.
7 months ago
Jorge Martin Espinosa
edf01cf8a7
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
8 months ago
Benoit Marty
3f570601ed
Remove verbose flag, was added to get more details about an error.
8 months ago
Benoit Marty
6bae19b6b0
Try to get more log from Codecov action.
9 months ago
renovate[bot]
95d9b04616
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>
9 months ago
Benoit Marty
eba1571ad0
Migrate form `gradle/gradle-build-action` to `gradle/actions/setup-gradle`
...
https://github.com/gradle/gradle-build-action
9 months ago
renovate[bot]
6a96bcb07a
Update gradle/gradle-build-action action to v3
9 months ago
renovate[bot]
a98749bad7
Update gradle/gradle-build-action action to v2.12.0
9 months ago
Benoit Marty
45fd075752
Kover: we need Xml report as well.
9 months ago
Benoit Marty
3b06576d21
Upgrade Kover to 0.7.5
9 months ago
renovate[bot]
275e56b39e
Update gradle/gradle-build-action action to v2.11.1
10 months ago
renovate[bot]
cabea138cb
Update actions/upload-artifact action to v4 ( #2034 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
10 months ago
renovate[bot]
7ccfb810d6
Update gradle/gradle-build-action action to v2.11.0
10 months ago
renovate[bot]
2ea79709d1
Update actions/setup-java action to v4
11 months ago
renovate[bot]
2ba771dcb7
Update gradle/gradle-build-action action to v2.10.0
11 months ago
renovate[bot]
9e66180d20
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>
12 months ago
Jorge Martin Espinosa
b57fddf19c
Lower max RAM usage for gradle to avoid CI issues ( #1766 )
12 months ago
Jorge Martin Espinosa
1f5a135072
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
12 months ago
renovate[bot]
7a158f06b3
Update gradle/gradle-build-action action to v2.9.0
1 year ago
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>
1 year ago
Benoit Marty
5c4da4b26e
Revert "Update codecov/codecov-action action to v4"
1 year ago
renovate[bot]
0e2a5e38cc
Update codecov/codecov-action action to v4
1 year ago
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>
1 year ago
renovate[bot]
6596f5ec48
Update gradle/gradle-build-action action to v2.8.0
1 year ago
renovate[bot]
18f82c7329
Update gradle/gradle-build-action action to v2.7.1
1 year ago
Benoit Marty
5d91513c32
Remove `failures` artifact, the content is included in `tests-and-screenshot-tests-results` artifact (only one artifact to download).
1 year ago
Benoit Marty
90351586ef
Remove `report` artifact, it is included in `tests-and-screenshot-tests-results` artifact.
1 year ago
Benoit Marty
8fabf6bc8d
Paparazzi 1.3.1 exports failure deltas from PROJECT_ROOT/out/failures/ to BUILD_DIR/paparazzi/failures/.
1 year ago
Jorge Martín
ccacb118a1
Revert merge queue CI optimizations
1 year ago
renovate[bot]
3a1e111b26
Update nschloe/action-cached-lfs-checkout action to v1.2.2
1 year ago
Jorge Martin Espinosa
b14c741422
CI improvements ( #1012 )
1 year ago
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
1 year ago
Jorge Martin Espinosa
9e85c74c9c
Try to fix using the merge queue ( #1009 )
1 year ago
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>
1 year ago
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>
1 year ago
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.
1 year ago
Jorge Martin Espinosa
978c7c2aa4
Try to improve 'Tests' CI job times ( #865 )
...
* Try to improve 'Tests' CI job times
* Remove `-Pci-build=true` for jobs where the debug mode can be explicitly used
* Add some more excluded `*State` values for kover
* Run paparazzi verification at the same time as Kover tasks, otherwise the coverage is lost.
1 year ago