Commit graph

106 commits

Author SHA1 Message Date
Chris Smith
298e217b73 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
Jorge Martín
5a9de39daa Add gradle cache to record screenshots flow 2023-06-05 09:03:47 +02:00
Benoit Marty
8fbaeb020f Iterate on the script #3 2023-06-02 17:37:51 +02:00
Benoit Marty
7c6fbb36ba Iterate on the script #2 2023-06-02 17:20:36 +02:00
Benoit Marty
38ffb88b7f Iterate on the script 2023-06-02 16:40:41 +02:00
Benoit Marty
1c58a39128 Add GitHub workflow to record screenshots when manually triggered. 2023-06-02 16:16:29 +02:00
Benoit Marty
82031beaa5 Rename job - try to fix conflict. 2023-06-01 15:34:45 +02:00
Benoit Marty
7f71b2d81d Search for forbidden patterns in Kotlin files. 2023-05-31 15:30:18 +02:00
Kat Gerasimova
ef6b562175 Merge pull request #466 from vector-im/kittykat-patch-2
Update triage automation for signoff
2023-05-30 11:12:25 +01:00
renovate[bot]
4b268dacd1 Update rnkdsh/action-upload-diawi action to v1.5.0 2023-05-26 20:47:47 +00:00
Kat Gerasimova
bbf1ad1adc Update triage automation for signoff 2023-05-26 11:40:02 +01:00
renovate[bot]
efcd969b4c Update mobile-dev-inc/action-maestro-cloud action to v1.3.3 (#457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-26 11:04:18 +02:00
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
2023-05-25 12:09:18 +02:00
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.
2023-05-23 14:59:28 +02:00
renovate[bot]
ac50d08377 Update mobile-dev-inc/action-maestro-cloud action to v1.3.2 2023-05-23 08:24:56 +00:00
Benoit Marty
1765398eb1 No need to duplicate the workflow, the workflow can have several on sections. 2023-05-11 16:36:46 +02:00
Benoit Marty
ad7bc5fecc Upgrade gradle/gradle-build-action to v2.4.2 2023-05-02 10:55:05 +02:00
Jorge Martin Espinosa
0389f782c9 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
40f927fbdf Update labelled issue automation
Migrate from graphql to actions.

Add QA team
2023-04-25 13:29:27 +01:00
Jorge Martin Espinosa
deb14865c6 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
7e196e6617 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
97917e7a2d 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]
b1e22e0448 Update danger/danger-js action to v11.2.6 2023-04-17 11:34:09 +00:00
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>
2023-04-17 08:49:52 +00:00
renovate[bot]
efa53a31a6 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
7b14543eab Revert "Run every 10 minutes to check the script. (to be reverted!)"
This reverts commit ed8a3eae6e.
2023-04-08 01:06:23 +02:00
Benoit Marty
3c07661134 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
437d1e1754 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
ed8a3eae6e Run every 10 minutes to check the script. (to be reverted!) 2023-04-07 12:29:35 +02:00
Benoit Marty
72b1e9d57c Setup localazy before running it.
From https://localazy.com/docs/cli/installation#debianubuntu
2023-04-07 12:26:25 +02:00
renovate[bot]
3c2d616367 Update peter-evans/create-pull-request action to v5 2023-04-05 13:56:35 +00:00
Benoit Marty
e211d03476 Add GitHub action to sync Localazy strings. 2023-04-05 11:04:18 +02:00
Jorge Martin Espinosa
7d3fd30d66 Disable Diawi when running from fork (#292) 2023-04-04 16:50:50 +02:00
Jorge Martin Espinosa
610e4aa8b6 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit cda0606a0d.
2023-04-04 14:44:01 +00:00
Jorge Martín
14dec83e13 Disable nightly workflow for forks 2023-04-04 08:26:26 +02:00
Jorge Martin Espinosa
cda0606a0d 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
33190674c1 Remove automation to sync Element Android strings. 2023-03-20 11:25:53 +01:00
renovate[bot]
e7a53ac06b Update rnkdsh/action-upload-diawi action to v1.3.2 2023-03-18 17:40:36 +00:00
Benoit Marty
a1a86ce52b 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
dfc9941e10 Ensure samples/minimal still compiles #195 2023-03-10 10:18:10 +01:00
Benoit Marty
57e292e48c Fix APK path sent to browserstack 2023-03-09 12:27:46 +01:00
Benoit Marty
9e6f471def Update nightly_manual.yml file (iso nightly.yml) 2023-03-09 12:22:14 +01:00
Michael Kaye
7e0a284669 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
c0af3dd923 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]
de5c1dfbd4 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]
0cddffd896 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
0523f61973 Try to run Diawi only for PRs (#124) 2023-03-02 18:08:57 +01:00
Benoit Marty
381bd3fd3f 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
f300842a87 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
065daa4899 Split APK per ABI 2023-03-01 10:26:05 +01:00