Commit Graph

94 Commits

Author SHA1 Message Date
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
a7339cb9c4 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.
2023-05-23 14:59:28 +02:00
renovate[bot]
1ae98b8f66 Update mobile-dev-inc/action-maestro-cloud action to v1.3.2 2023-05-23 08:24:56 +00:00
Benoit Marty
6a2cb1bbb5 No need to duplicate the workflow, the workflow can have several on sections. 2023-05-11 16:36:46 +02:00
Benoit Marty
43070f7c59 Upgrade gradle/gradle-build-action to v2.4.2 2023-05-02 10:55:05 +02:00
Jorge Martin Espinosa
27824a279a Fix: Maestro tests fail when using settings (#358)
* Fix Maestro tests using 'Settings' to open the settings screen.

* Try to allow manually running Maestro tests.

* Also adjust logout flow.
2023-04-25 18:01:54 +02:00
Kat Gerasimova
dbbc14f683 Update labelled issue automation
Migrate from graphql to actions.

Add QA team
2023-04-25 13:29:27 +01:00
Jorge Martin Espinosa
32d028c50e Fix: JNA issue in release mode (#335)
* Restore checkout config for nightly workflows.

* Add missing proguard config line for JNA.
2023-04-18 11:31:25 +00:00
Benoit Marty
b557260bb7 Merge pull request #311 from vector-im/renovate/danger-danger-js-11.x
Update danger/danger-js action to v11.2.6
2023-04-18 10:51:33 +02:00
Jorge Martin Espinosa
c8fcf9549b Update the Rust SDK to v0.1.9 (#318)
* Update the Rust SDK to v0.1.7.

* Try to have the same setup for the build apk job and maestro.

* Add option to run maestro manually.

* Update to v0.1.9 (0.1.7 and 0.1.8 were broken in x86_64).
2023-04-17 17:43:21 +02:00
renovate[bot]
fa39a5ded8 Update danger/danger-js action to v11.2.6 2023-04-17 11:34:09 +00:00
Jorge Martin Espinosa
afd58f1634 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>
2023-04-17 08:49:52 +00:00
renovate[bot]
1ba6054301 Update danger/danger-js action to v11.2.5 (#309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 09:24:55 +02:00
Benoit Marty
ad0886391b Revert "Run every 10 minutes to check the script. (to be reverted!)"
This reverts commit 32be8f29e6.
2023-04-08 01:06:23 +02:00
Benoit Marty
ea9f9ccdc3 Use Python 3.9
CI complain with:
 Traceback (most recent call last):
  File "./tools/localazy/generateLocalazyConfig.py", line 39, in <module>
    action = baseAction | {
TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
2023-04-07 15:03:02 +02:00
Benoit Marty
67955988cf Use Python 3.9
CI complain with:
 Traceback (most recent call last):
  File "./tools/localazy/generateLocalazyConfig.py", line 39, in <module>
    action = baseAction | {
TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
2023-04-07 15:01:34 +02:00
Benoit Marty
32be8f29e6 Run every 10 minutes to check the script. (to be reverted!) 2023-04-07 12:29:35 +02:00
Benoit Marty
6af4057e74 Setup localazy before running it.
From https://localazy.com/docs/cli/installation#debianubuntu
2023-04-07 12:26:25 +02:00
renovate[bot]
54a1729bd8 Update peter-evans/create-pull-request action to v5 2023-04-05 13:56:35 +00:00
Benoit Marty
d0298392c4 Add GitHub action to sync Localazy strings. 2023-04-05 11:04:18 +02:00
Jorge Martin Espinosa
f0b95d30be Disable Diawi when running from fork (#292) 2023-04-04 16:50:50 +02:00
Jorge Martin Espinosa
4154a96b54 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit 4e085efcf4.
2023-04-04 14:44:01 +00:00
Jorge Martín
943d9600c3 Disable nightly workflow for forks 2023-04-04 08:26:26 +02:00
Jorge Martin Espinosa
4e085efcf4 Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
Benoit Marty
65be3ed216 Remove automation to sync Element Android strings. 2023-03-20 11:25:53 +01:00
renovate[bot]
7f4eda93bd Update rnkdsh/action-upload-diawi action to v1.3.2 2023-03-18 17:40:36 +00:00
Benoit Marty
2aec795299 Run maestro only on pull request, and only when the pull request has been approved, to limit our usage of maestro cloud. #121
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-when-a-pull-request-is-approved
2023-03-10 10:24:11 +01:00
Benoit Marty
1ab2bfcd21 Ensure samples/minimal still compiles #195 2023-03-10 10:18:10 +01:00
Benoit Marty
c5474f6460 Fix APK path sent to browserstack 2023-03-09 12:27:46 +01:00
Benoit Marty
c496102a05 Update nightly_manual.yml file (iso nightly.yml) 2023-03-09 12:22:14 +01:00
Michael Kaye
f246dd1ea4 Use the gradle plugin (same usage as in element-android) to standardise caching.
This may or may not speed up build times.
2023-03-07 13:32:32 +00:00
Benoit Marty
bc011d0444 Merge pull request #126 from vector-im/dependabot/github_actions/danger/danger-js-11.2.4
Bump danger/danger-js from 11.2.3 to 11.2.4
2023-03-06 15:57:14 +01:00
dependabot[bot]
64eb520491 Bump danger/danger-js from 11.2.3 to 11.2.4
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.2.3 to 11.2.4.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.2.3...11.2.4)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 09:16:36 +00:00
dependabot[bot]
242042c9b2 Bump NejcZdovc/comment-pr from 1 to 2
Bumps [NejcZdovc/comment-pr](https://github.com/NejcZdovc/comment-pr) from 1 to 2.
- [Release notes](https://github.com/NejcZdovc/comment-pr/releases)
- [Commits](https://github.com/NejcZdovc/comment-pr/compare/v1...v2)

---
updated-dependencies:
- dependency-name: NejcZdovc/comment-pr
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 09:08:31 +00:00
Jorge Martin Espinosa
d8a391ec9b Try to run Diawi only for PRs (#124) 2023-03-02 18:08:57 +01:00
Benoit Marty
1ec629c304 Merge pull request #92 from vector-im/feature/bma/pr_improvement
Configure Diawi and split APK
2023-03-02 11:44:34 +01:00
Jorge Martin Espinosa
633f65e557 CI: make sure Paparazzi test failures stop the test flow (#117)
* Run Paparazzi tests just once when koverMergedReport is used.
* Make sure a Paparazzi failure breaks the test flow and blocks merging.
* Change ./gradlew check call in quality.yml to custom runQualityChecks task.
2023-03-02 09:15:47 +01:00
Benoit Marty
d617a9a3dc Split APK per ABI 2023-03-01 10:26:05 +01:00
Benoit Marty
223e264512 Setup Diawi to comment Pull Request with a QrCode to download the APK 2023-03-01 10:26:05 +01:00
Benoit Marty
61f01f1f55 Fix typo 2023-03-01 09:55:39 +01:00
Benoit Marty
01d2dde7be Build unmerged branch on pull request 2023-03-01 09:55:39 +01:00
dependabot[bot]
19f68ceccd Bump mobile-dev-inc/action-maestro-cloud from 1.2.3 to 1.3.1
Bumps [mobile-dev-inc/action-maestro-cloud](https://github.com/mobile-dev-inc/action-maestro-cloud) from 1.2.3 to 1.3.1.
- [Release notes](https://github.com/mobile-dev-inc/action-maestro-cloud/releases)
- [Commits](https://github.com/mobile-dev-inc/action-maestro-cloud/compare/v1.2.3...v1.3.1)

---
updated-dependencies:
- dependency-name: mobile-dev-inc/action-maestro-cloud
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 23:05:21 +00:00
David Langley
7fb8dce0da Add labelled issues to Verticals Feature project 2023-02-22 10:24:50 +00:00
Benoit Marty
bebbf89ad4 Merge pull request #77 from michaelkaye/michaelk/upload_nightly_to_browserstack
On nightly build (or manual build), additionally upload a copy to browserstack for automation.
2023-02-17 12:01:43 +01:00
Johannes Marbach
2a2ea0e1b9 Add EXF issues to the X-Plorer project 2023-02-14 17:09:04 +01:00
Michael Kaye
7bb1af4133 Rename custom ID in line with iOS name 2023-02-10 10:59:01 +00:00
Michael Kaye
5f553fb64b On nightly build, additionally upload a copy to browserstack for automation. 2023-02-08 13:55:31 +00:00
Benoit Marty
da90d1312c fix path 2023-02-07 22:13:39 +01:00
Benoit Marty
312cc4ce22 Kover: add verify rules: global and for Presenters 2023-02-07 16:29:57 +01:00
Benoit Marty
1c890e223b Rename artifact 2023-02-07 10:36:29 +01:00