Commit graph

143 commits

Author SHA1 Message Date
Kat Gerasimova
4056d96582 Update template for user story
Update the label/description - labels are compulsory and end up in the issue body
Split out signoff from tasklist - that way signoffs do not count towards the total tasks in the issue
2023-07-06 12:53:20 +01:00
Marco Romano
38ecac7b59 Add Maestro tests for create & join rooms (#472)
I created 2 additional test users to use them as MXID we lookup during room creation.

I.e. we will not login as those users, it's just 2 known MXIDs that we know exist so we can look them up.

- https://github.com/vector-im/element-x-android/issues/409
2023-07-04 13:33:59 +02:00
Kat Gerasimova
62bed85015 Quote out broken issue automation for now
Need to figure out why it's not working
2023-07-03 12:12:20 +01:00
Benoit Marty
7c6bb7a45d Merge pull request #734 from vector-im/misc/cjs/dont-delete-all-the-screenshots
Improve screenshot action error handling
2023-07-03 10:23:29 +02:00
Chris Smith
9e44a9eb8c Reformat workflow 2023-06-30 13:25:36 +01:00
Kat Gerasimova
0e636c57a6 Add issues to new triage board
All new issues should go to the V2 triage board
2023-06-30 13:25:36 +01:00
Chris Smith
05592fd372 Merge pull request #730 from vector-im/renovate/gradle-gradle-build-action-2.x
Update gradle/gradle-build-action action to v2.5.1
2023-06-30 13:15:21 +01:00
Kat Gerasimova
1a85163262 Move X-Needs-Info issues on triage board 2023-06-30 12:38:06 +01:00
Chris Smith
d0b7f7689e Improve screenshot action error handling
If the gradle build fails for some reason, the script should
bail out instead of carrying on and pushing a commit that
deletes all the screenshots[1]!

`set -e` simply makes the script return the appropriate
exit code immediately if any of the subcommands fails.

[1] e.g.
https://github.com/vector-im/element-x-android/pull/726/commits/a58834240e1054688527955ea3414d8687bd5975
2023-06-30 10:14:32 +01:00
renovate[bot]
d1cd3c243e Update gradle/gradle-build-action action to v2.5.1 2023-06-29 19:30:55 +00:00
renovate[bot]
37017a993c Update gradle/gradle-build-action action to v2.5.0 2023-06-28 22:27:46 +00:00
Chris Smith
8a515acca2 Renovate: fix pattern match for maplibre 2023-06-28 09:17:01 +01:00
Chris Smith
2540770881 Make renovate ignore maplibre pre-releases
Maplibre uses semver, so pre-releases look like `1.2.3-something`,
but renovate defaults to a looser version matching when using
maven (to allow for weird things like 1.2.3-android being stable).
2023-06-28 08:56:15 +01:00
Benoit Marty
28ca5f7ffd Merge pull request #589 from vector-im/renovate/mobile-dev-inc-action-maestro-cloud-1.x
Update mobile-dev-inc/action-maestro-cloud action to v1.4.1
2023-06-27 21:28:25 +02:00
Benoit Marty
d366b40c47 Do not fail the whole build if Diawi upload fails 2023-06-27 16:16:11 +02:00
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.
2023-06-21 09:12:47 +00:00
Benoit Marty
f38f1487c5 Merge pull request #626 from vector-im/feature/bma/sonar
Sonar
2023-06-21 10:41:26 +02:00
Jorge Martin Espinosa
97fbe4f4b5 Try using ElementBot for recording screenshots too (#641) 2023-06-20 14:31:52 +02:00
Jorge Martín
b648968810 Change the token used by the localazy sync so workflows are triggered in the resulting PR 2023-06-19 18:00:32 +02:00
Benoit Marty
fd8ea69104 Add workflow_dispatch to be able to trigger this action. 2023-06-19 17:33:07 +02:00
Benoit Marty
3c06e94805 Create PR to sync Localazy strings in the name of ElementBot, to that created PR can trigger other GitHub actions.
Ref: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
2023-06-19 14:12:15 +02:00
renovate[bot]
38a42cba27 Update mobile-dev-inc/action-maestro-cloud action to v1.4.1 2023-06-19 11:58:55 +00:00
Benoit Marty
8b2121ae99 Restore sonar task on PR, we want to have sonarcloud comment on PR to track code quality (#619) 2023-06-16 18:00:40 +02:00
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
e661d17896 [Renovate] Do not upgrade org.jetbrains.kotlinx.kover (See #513) 2023-06-02 10:04:41 +02:00
Benoit Marty
504bf905ab Format file (no other change) 2023-06-02 10:01:21 +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
ac515afae3 Now that we have a CODEOWNERS file, there is no need for Renovate to assign a reviewer. It will be done automatically by GitHub. 2023-05-15 13:24:27 +02: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
Benoit Marty
1bf72d9585 Merge pull request #331 from vector-im/feature/bma/renovateComposeCompiler
Let renovate upgrade the compose compiler and group related upgrades about Kotlin.
2023-04-18 09:34:04 +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
Benoit Marty
3726ae3204 Let Renovate group dependency upgrade for kotlin compiler, ksp and compose compiler. 2023-04-17 15:56:17 +02:00