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
8 months ago
Jorge Martin Espinosa
179579d5e5
Revert "Clear and generate new cache only when merging to `develop`" ( #2550 )
...
This reverts commit ab504a6095
.
8 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.
8 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.
9 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.
10 months ago
Benoit Marty
3b06576d21
Upgrade Kover to 0.7.5
10 months ago
renovate[bot]
275e56b39e
Update gradle/gradle-build-action action to v2.11.1
11 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>
11 months ago
renovate[bot]
7ccfb810d6
Update gradle/gradle-build-action action to v2.11.0
11 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
1 year 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
Benoit Marty
0d45096b59
Split task in 2, due to the fact that when we run kover on the CI, run only debug test variants.
...
Error was:
Some problems were found with the configuration of task ':koverMergedHtmlReport' (type 'KoverHtmlTask').
- Gradle detected a problem with the following location: '/home/runner/work/element-x-android/element-x-android/features/analytics/api/build/tmp/kotlin-classes/release'.
Reason: Task ':koverMergedHtmlReport' uses this output of task ':features:analytics:api:compileReleaseKotlin' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':features:analytics:api:compileReleaseKotlin' as an input of ':koverMergedHtmlReport'.
2. Declare an explicit dependency on ':features:analytics:api:compileReleaseKotlin' from ':koverMergedHtmlReport' using Task#dependsOn.
3. Declare an explicit dependency on ':features:analytics:api:compileReleaseKotlin' from ':koverMergedHtmlReport' using Task#mustRunAfter.
...
1 year ago
Benoit Marty
a2b84ac617
Ensure CI run all the tests. There were some failing tests, but the CI does not see it. It seems that koverMergedReport does not run all the tests (?).
1 year ago
renovate[bot]
f43de1f496
Update gradle/gradle-build-action action to v2.6.0
1 year ago
renovate[bot]
d1cd3c243e
Update gradle/gradle-build-action action to v2.5.1
1 year ago
renovate[bot]
37017a993c
Update gradle/gradle-build-action action to v2.5.0
1 year ago
Marco Romano
6a39b8d242
Use github action that caches LFS files when checking out the repo ( #647 )
...
Uses https://github.com/nschloe/action-cached-lfs-checkout where we're using git-lfs.
This is a wrapper around `actions/checkout@v3` which uses `actions/cache@v3` to cache the files on LFS to avoid downloading them every time and spare LFS bandwidth.
1 year ago
Benoit Marty
8b2121ae99
Restore sonar task on PR, we want to have sonarcloud comment on PR to track code quality ( #619 )
1 year ago
Benoit Marty
6edc7a9323
Reduce logging level to `--warn` to reduce verbosity for testing and checking quality workflows. Keep default (lifecycle) for build workflow.
...
https://docs.gradle.org/current/userguide/logging.html
1 year ago
Benoit Marty
10a70e6fe3
Reduce time to run test from 15 minutes to about 8 by disabling creating artifact and uploading to sonar.
...
Instead those 2 steps are now run once a day in a separate GitHub action.
1 year ago
Benoit Marty
ad7bc5fecc
Upgrade gradle/gradle-build-action to v2.4.2
2 years ago
Jorge Martin Espinosa
de010545fb
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>
2 years ago