Commit Graph

115 Commits

Author SHA1 Message Date
Benoit Marty
e8555d2ea7 Add shellcheck to quality checks 2024-06-11 15:22:12 +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
renovate[bot]
4484a2681a Update danger/danger-js action to v12.3.0 2024-05-24 08:03:41 +00: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
Benoit Marty
df541f6ac1 Use Python 3.12 to be able to use match structure. 2024-05-13 12:08:05 +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
renovate[bot]
4548335601 Update danger/danger-js action to v12 2024-04-16 19:44:41 +00: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
Benoit Marty
1b3bf575b1 Add a script to check invalid screenshot(s). 2024-03-07 13:49:58 +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
5f7174e337 Migrate form gradle/gradle-build-action to gradle/actions/setup-gradle
https://github.com/gradle/gradle-build-action
2024-02-01 14:53:28 +01:00
renovate[bot]
a190a47109 Update gradle/gradle-build-action action to v3 2024-01-31 11:34:52 +00:00
renovate[bot]
196203a9f5 Update gradle/gradle-build-action action to v2.12.0 2024-01-24 22:25:02 +00:00
renovate[bot]
fd53c587fe Update gradle/gradle-build-action action to v2.11.1 2023-12-20 06:42:17 +00:00
renovate[bot]
4efed07ef7 Update actions/upload-artifact action to v4 (#2034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 18:58:03 +01:00
renovate[bot]
df21525177 Update gradle/gradle-build-action action to v2.11.0 2023-12-13 07:34:48 +00:00
renovate[bot]
97dd073462 Update danger/danger-js action to v11.3.1 2023-12-07 17:39:06 +00:00
renovate[bot]
4a95a49843 Update actions/setup-java action to v4 2023-11-29 16:04:07 +00:00
renovate[bot]
ece3969c39 Update gradle/gradle-build-action action to v2.10.0 2023-11-27 09:30:38 +00:00
renovate[bot]
dd57197f32 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>
2023-11-08 12:58:14 +00:00
Jorge Martin Espinosa
bf4ce9f05a Lower max RAM usage for gradle to avoid CI issues (#1766) 2023-11-08 09:45:55 +00:00
Jorge Martin Espinosa
3fc8f1aaec 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
2023-11-03 10:34:49 +01:00
renovate[bot]
3ecd2318f9 Update gradle/gradle-build-action action to v2.9.0 2023-10-01 01:04:40 +00:00
renovate[bot]
9c17ec2f2f 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
renovate[bot]
5350c4af4b Update danger/danger-js action to v11.3.0 2023-09-22 16:42:07 +00:00
Benoit Marty
0ff92b4f92 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
6537bc1617 Just try using actions/checkout@v4 2023-09-11 14:51:12 +02:00
Jorge Martin Espinosa
b20d9f6973 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]
dab1b0e0bf Update actions/checkout action to v4 2023-09-04 12:50:03 +00:00
renovate[bot]
8bae51ff5e Update gradle/gradle-build-action action to v2.8.0 2023-08-28 19:24:00 +00:00
renovate[bot]
091b2c1c44 Update gradle/gradle-build-action action to v2.7.1 2023-08-19 02:06:53 +00:00
Jorge Martín
067921a6de Revert merge queue CI optimizations 2023-08-17 17:17:03 +02:00
renovate[bot]
dcd5c2de7a 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 Martin Espinosa
89b1bba96e CI improvements (#1012) 2023-07-31 21:05:28 +02:00
Jorge Martin Espinosa
ffdf005507 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
a1dd524471 Try to fix using the merge queue (#1009) 2023-07-31 13:35:38 +00:00
renovate[bot]
4e506667fb 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]
015b98d818 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
renovate[bot]
e4a7fcc60c 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
Jorge Martin Espinosa
323a84db37 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]
0ae3d25666 Update gradle/gradle-build-action action to v2.6.0 2023-07-10 20:05:51 +00:00
renovate[bot]
fb2b12cbd1 Update gradle/gradle-build-action action to v2.5.1 2023-06-29 19:30:55 +00:00
renovate[bot]
818c868f02 Update gradle/gradle-build-action action to v2.5.0 2023-06-28 22:27:46 +00:00
Chris Smith
5707aedfa2 GH Workflows: move deps check, fix nightly
Move the dependency check job from the quality workflow that
runs on every PR to the nightly reports workflow. This sometimes
flakes as it does a _lot_ of HTTP requests. It's less intrusive
if that happens outside of the PR workflow.

Also change the nightly job that runs tests to use LFS, so it
actually has access to screenshots :)

The sonar task is still broken, but it seems like an upstream bug:
https://community.sonarsource.com/t/sonar-plugin-4-1-0-3113-4-2-0-3129-errors/91568
2023-06-06 16:32:18 +01:00
Benoit Marty
7054224451 Search for forbidden patterns in Kotlin files. 2023-05-31 15:30:18 +02:00
Benoit Marty
dfeb4d3c91 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
2023-05-25 12:09:18 +02:00
Benoit Marty
43070f7c59 Upgrade gradle/gradle-build-action to v2.4.2 2023-05-02 10:55:05 +02:00
renovate[bot]
fa39a5ded8 Update danger/danger-js action to v11.2.6 2023-04-17 11:34:09 +00:00